New string tokenizer

This bit us in the butt last time, but it will help for next time.  Also, I made a crude little substitute for list comprehension.