SyntaxFix
Write A Post
Hire A Developer
Questions
The following will return you the "a" letter:
$a = array_shift(explode('.', 'a.b'));