Comment on Tutorial - Using StringTokenizer in Java By Emiley J



Comment Added by : Amit

Comment Added at : 2010-05-07 05:03:41

Comment on Tutorial : Using StringTokenizer in Java By Emiley J
It gives strange result when we use == as delimiter.
String myStr = "This==is==correct=but=assignment";
it will consider "=" as delimeter and this is wrong.

Please let me know how to parse with exact delimiters.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Line 11 says:
cout << "Here's a

View Tutorial          By: Nrom at 2012-06-26 20:16:52

2. please send me Java programs
View Tutorial          By: Jayita at 2009-11-06 08:19:59

3. Thanks a lot. It solved my problem in a second.
View Tutorial          By: Suddy at 2010-03-25 14:56:10

4. Sat Apr 23 10:44:14 IST 2011:Sender:*** time out a
View Tutorial          By: sasivarnan at 2011-04-23 01:17:18

5. Dear sir,
Can you provide me for a simple p

View Tutorial          By: kartikeya at 2012-12-22 10:19:41

6. answers to the questions asked by ranjan in commen
View Tutorial          By: A Sadist at 2012-07-05 12:13:45

7. it is good site , and i have cleared my doubts
View Tutorial          By: imtiaz at 2009-10-15 23:43:50

8. hi i have used this code in my site. and it says <
View Tutorial          By: Jawad at 2011-01-16 06:31:00

9. i can understand easily what is isset but i am not
View Tutorial          By: sebestiraj at 2010-04-09 00:09:36

10. Question, how much is Struts 2 used today? As a fr
View Tutorial          By: Marco at 2012-10-04 06:34:43