in reply to What's the best way to get first character of the string?

If you really just want to get the first character, I'm sure  substr( $str, 0, 1 ) would be sufficient