take a look at
string_split_iterator

Surya