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. Nice example..i m working on android and i want to
View Tutorial          By: Pranav at 2012-04-25 07:00:48

2. Hi,
I have problem of calling javascript fu

View Tutorial          By: Shakti Prasad Priyakumar at 2008-06-06 06:11:52

3. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45

4. It work fine with message below 160 chars. How can
View Tutorial          By: Milind at 2011-12-15 06:20:33

5. Thank you for this. I am a beg and this is making
View Tutorial          By: mac at 2011-08-23 13:47:15

6. your web site is very useful for students
View Tutorial          By: aathithi at 2008-06-22 22:41:07

7. I lit'l modified the above program for main class,
View Tutorial          By: Adil khan at 2013-02-12 06:37:17

8. I have altered the code as described (xml addition
View Tutorial          By: Spijker at 2015-10-14 12:27:47

9. thanks...helped a lot!!!!
View Tutorial          By: Sc21ac at 2013-05-03 03:44:06

10. Good explanation on how to parse.

Y

View Tutorial          By: Sravan at 2010-10-05 05:16:39