in reply to first char of string?

You could use a regex as well: This will snag any character, including embedded tabs, newlines, etc, etc. However, it is not as efficient as using substr (substr is a bit more than twice as fast in my tests).