Hello,
My strings look like this:
"001668","RTOFENTRY","LICENSE","","SJC","","00000431","Rental Car"
Notice the "" empty
string.
My StringTokenizer's constructor takes care of delimiter characters
StringTokenizer token = new StringTokenizer(str, ",\"");
The problem is that the "" empty string is not counted as a token!
So instead of my token count to be 8, i get a 6.
How would you deal with this. Any suggestions besides me using a StringTokenizer.
Thanks for your time