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. Real Life example of using Volatile
*******

View Tutorial          By: Mayank at 2011-01-25 15:44:21

2. i am new to SMS, i think i need a device too. Whic
View Tutorial          By: Usman at 2015-10-05 12:06:34

3. Thank you! Solved many headaches :)
View Tutorial          By: Dominik at 2013-07-30 16:51:46

4. This code is only for send sms? can it also alert
View Tutorial          By: abdul kadir at 2009-10-23 05:37:46

5. The static variables are not in object scope inste
View Tutorial          By: Karthick at 2011-06-29 06:55:17

6. this site and document good for the starter. Thank
View Tutorial          By: davit off at 2011-04-17 06:57:02

7. Good introduction to a valuable topic
View Tutorial          By: Elayaperumal at 2011-07-18 12:48:15

8. Can we use the if sttmt l;ike this::
if (a

View Tutorial          By: Anubhav at 2010-11-14 08:15:04

9. helpful :)
View Tutorial          By: ravinder at 2012-03-22 11:52:19

10. HOW TO SET PASSWORD IN JAVA.....
View Tutorial          By: NAKUL at 2012-12-14 05:23:16