This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes I always wonder about   StringTokenizer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I always wonder about   StringTokenizer ? " Watch "I always wonder about   StringTokenizer ? " New topic
Author

I always wonder about StringTokenizer ?

Guna Ranjan
Greenhorn

Joined: Aug 14, 2008
Posts: 2
Hai i always this question in my mind
is there is anyway to break string without
using string tokenizer! any ranch here to answer my question??
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You can use the split(...) method in the String class


Regards, Rene Larsen
Dropbox Invite
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

"Gunaranjan," please check your private messages by clicking on My Private Messages. Thanks!

(You can also create substrings from the original String.)


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Guna Ranjan
Greenhorn

Joined: Aug 14, 2008
Posts: 2
marc please do vist your private message inbox
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: I always wonder about StringTokenizer ?
 
It's not a secret anymore!