Possible duplicate:
PHP preg_split string in a couple of letters
I have a line that looks like this:
$str = "How are you doing?";
How can I turn this string into an array that looks like this:
$arr = array("Ho","w ","ar","r ","yo","u ","do","in","g?");
source
share