Tag: string tokenizer in java

String Tokenization Java

May 9, 2013 · 2 min read
###### **Breaking a string into independent words is known as string tokenization**. To do the job, Java comes with class **StringTokenizer** from **java.util** package. It is so simple to use, just pass the string to the constructor of StringTokenizer. Over, everything is done and StringTokenizer places all the words (known as tokens) in your hand.