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. Thank you Sir.
View Tutorial          By: Dinesh at 2015-08-25 10:41:30

2. i will make to try for rms :)
View Tutorial          By: sebo at 2010-05-20 07:38:28

3. left shift output is wrong, for this results so ma
View Tutorial          By: naga sudha at 2011-04-20 04:26:40

4. Nice Tips thank you
View Tutorial          By: Giritharan at 2013-04-11 09:24:37

5. Awesome work! Ramlak, thank you for your help!
View Tutorial          By: ico at 2011-03-21 04:23:11

6. i wanted to know the rules how they are used like
View Tutorial          By: shlok gupta at 2012-03-24 11:44:24

7. Notice that on an UNIX environment (including Linu
View Tutorial          By: Alejandro segovia at 2011-02-22 11:08:23

8. Simple file writer example. .............
<

View Tutorial          By: Chezhian TK at 2010-10-14 21:40:16

9. Its Very Good Example
View Tutorial          By: Madhu at 2011-08-26 12:11:49

10. Many many thanks. It is very very helpful. Again t
View Tutorial          By: Mehedi Hasan at 2009-09-15 21:41:51