Are you trying to split obtained the contents of the comma-delimited String? Read the Java API and you'd notice that StringTokenizer is not recommended for usage anymore, except in supporting legacy codes.
As of JDK 1.4 and later, you could use the split method of String class.
This way, your codes is easier to maintain & understand. There's also performance gain involved, if I'm not mistaken.