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. from docs api api/java/awt/Frame/setOpacity:

View Tutorial          By: robert at 2014-12-12 07:48:59

2. Thanks for this. I was checking and double checkin
View Tutorial          By: Alex at 2011-07-10 09:03:56

3. I want to say, that you have to give complete code
View Tutorial          By: Jasvir Yadav at 2009-09-05 07:23:15

4. I really helped with this tutorial.
In case

View Tutorial          By: maya at 2008-07-30 00:35:51

5. Nice example..i m working on android and i want to
View Tutorial          By: Pranav at 2012-04-25 07:00:48

6. Hi, thanks for your code, I have modified a little
View Tutorial          By: Armando at 2010-08-10 09:34:35

7. HI all,

I am not able to call SMSC

View Tutorial          By: chinnadurai at 2009-08-26 23:58:54

8. very nice content
View Tutorial          By: sarat at 2012-08-22 12:17:26

9. i am looking for the samples in java programming u
View Tutorial          By: mary grace leron at 2010-02-18 01:50:50

10. please provide Example instanceof With Collection
View Tutorial          By: siddardha at 2010-08-18 00:30:38