php explode word to letters code example
Example 1: php convert string to chars
<?php
$str = "Hello Friend";
$arr1 = str_split($str);
$arr2 = str_split($str, 3);
print_r($arr1);
print_r($arr2);
?>
Example 2: php explode sentence into words
$words = explode(" ", $sentence);