Text this: Algorithms on strings