No need to use StringTokenizer etc.
All this can be done as 1 line inside a for loop.

Play around with a for loop approach, using String.spit() to your advantage.