.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT

Home >> Forum >> JavaScript/VBScript >> Post New QuestionBookmark and Share Subscribe to Forum

difference between?

Posted By: jeromesturt     Posted Date: February 28, 2014    Points:5   Category :JavaScript/VBScript
What is difference between String and StringTokenizer?
Somebody tell me the answer with example..

Author: satyapriyanayak             
Posted Date: February 28, 2014     Points: 20   


If this post helps you mark it as answer
Author: Shivakumaran             
Posted Date: October 22, 2018     Points: 20   

Scanner vs. StringTokenizer vs. String.Split 10 answers
I've been using String[] split(String) of String class to split any string for some given delimiter, and it worked fine.

However, now it is expected to re-factor the same logic with StringTokenizer. But what are the differences and benifits of using one over the other.

Also, I feel that String[] returned by split() in a single call is much efficient option than using the objects of the class StringTokenizer.

If you want to know more about this visit at: http://www.traininginlucknow.in/best-java-training-in-Lucknow.html
helps you mark it as answer

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend