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. would you please send me a code that can be run pl
View Tutorial          By: putra at 2008-12-17 13:26:26

2. HI,

The function is throwing an err

View Tutorial          By: Vamshi at 2010-08-31 05:04:03

3. short and simple program
hel

View Tutorial          By: sourabh agrawal at 2012-10-16 04:55:27

4. What if I wanted POST instead of GET?
View Tutorial          By: Otto at 2011-06-12 15:38:50

5. When I use this code it puts everything I append o
View Tutorial          By: Amber at 2012-06-18 15:33:22

6. I am doing a project to for sending sms from the s
View Tutorial          By: visalakshi at 2010-03-30 20:55:50

7. Hi All could you pls. send the execution of the ab
View Tutorial          By: subbu at 2008-01-28 03:14:27

8. Amazing new function atoi() , it shows c,c++ are p
View Tutorial          By: Hari at 2009-05-05 22:20:17

9. Okay, this article cleared my two doubts i.e. Use
View Tutorial          By: Shrikrishna Meena at 2010-09-26 12:38:04

10. can u explain about printStackTrace()method.what i
View Tutorial          By: himabindu at 2009-06-10 20:03:14