I have a string like this:
72594206916,2,1/2/08,Tacoma,WA:72594221856,5,5/7/13,San Francisco,CA:72594221871,99,12/30/12,Dallas,TX
This is b
You forgot the last line. In your example, the 'TX' is not taken into account. You shuld check the remaining text avec While loop