php obtient le premier caractère de la chaîne
$firstStringCharacter = substr("hello", 0, 1);
Grepper
$firstStringCharacter = substr("hello", 0, 1);
$words = explode(" ", $string);
$firstname = $words[0];
$lastname = $words[1];
$third_word = $words[2];