find the longest run in a string