First crack at the string search problem.