How can I split string to an array of characters?
Thank you.
vladi
This is right out of the manual:
Example 2. Splitting a string into component characters.
$str = 'string'; $chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY); print_r($chars);