@mscharley I assumed "are the first four characters X" would be faster than regex, although your regex example raises a good question of line endings. @parkr?