Results 1 to 4 of 4
- 07-29-2011, 09:18 AM #1
- 07-29-2011, 09:21 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Build a wall around Donald Trump; I'll pay for it.
- 07-29-2011, 09:33 AM #3
what about stringtokenizer ? which one is useful ?
- 07-29-2011, 10:00 AM #4
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
Always prefer split over string tokenizer. String tokenizer is only still around for legacy code.
From the API: StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of String or the java.util.regex package instead
Similar Threads
-
Randomly Generate Sentences
By kevorski in forum New To JavaReplies: 18Last Post: 10-27-2010, 04:40 AM -
Help. Find a word and located sentences in the file
By rashad in forum New To JavaReplies: 1Last Post: 02-28-2010, 03:06 PM -
How to read a letter instead of a character from a given sentences
By lclclc in forum New To JavaReplies: 8Last Post: 09-15-2009, 11:53 AM -
Creating random sentences
By bluekswing in forum New To JavaReplies: 4Last Post: 06-27-2007, 05:45 PM -
vars and if sentences in XSL-FO
By Alan in forum XMLReplies: 1Last Post: 05-31-2007, 02:24 PM
Bookmarks