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. really helpfull and gets all the stuff what u want
View Tutorial          By: yash at 2009-10-25 12:28:57

2. Splendid! Haven\'t used asserts before, very helpf
View Tutorial          By: Anonymous at 2009-03-11 04:18:42

3. Thanks a lot. I've been stuck on this issue for qu
View Tutorial          By: Mark at 2008-04-12 22:01:56

4. @ parul : check whether your are passing class fil
View Tutorial          By: heramb at 2012-03-28 07:15:21

5. Awesome One....... Thanx...... m new to java...and
View Tutorial          By: jayanta at 2010-02-05 04:35:34

6. Nice explanation. And a good example to back it up
View Tutorial          By: fazil at 2009-07-29 00:32:03

7. When i run the program,Iam getting this

View Tutorial          By: anitha at 2008-12-17 21:37:36

8. 2nd example not gud
View Tutorial          By: prakash at 2011-11-15 11:07:43

9. Thanx!!!!....
It helped me to startup with

View Tutorial          By: RAJITHA REDDY at 2011-03-01 02:47:03

10. I tried ....so this is best solution for understa
View Tutorial          By: rehnuma at 2015-03-30 12:29:38