Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

StringTokenizer versus String.split()

807569Sep 28 2006 — edited Sep 28 2006
I just discovered that the Stringtokenizer class exists, but I do not know when I should use it over the String class's split() method to parse a string into separate values.

Could someone explain the when to use one over the other?

Thank You,

John Gooch

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 26 2006
Added on Sep 28 2006
13 comments
388 views