CONTAINS block for text strings

Modularity is your friend:


although I might prefer doing this piece of it in JS because (I hope) their toLower function works in non-English character sets.