If you look a couple of messages back, the same question was asked. Loreta explained this by saying:
"On 3.5, I didn't use "StringTokenizer". Instead, focus on using a while loop, some sort of counting method, .charAt() and .length() in your code."
This pretty much tells you how to do it.
Michelle