Luke Worth wrote: >Hey that's cool, I didn't know you could do that. >I think i'll stick with my queue solution though. The thing i failed to >mention is that i want to tokenize across spaces not preceded or >followed by a dot. I'm also forming it into a tree structure at the same >time.... >Thanks for the gsub tip though! > > Consider StringScanner. Devin