Nice. Now maybe add the ability to change the delimiter, for CSV files etc.
I wrote something similar for the string class in my LPC port, each call to getword() (actually getNextField()) passed a parm that was the delimiter so I could pick and choose the "field" I wanted returned.
I never implemented protecting quoted words etc though, might have to add that
Rob