Break a string into tokens
Search a string for the first occurence of any character in a set
Compute length of a string complement