Hi,
I wonder if it is possible to convert a given string into an array of chars without using a separator.
That is, is there a function
mySplit
with
mySplit('example') == array('e', 'x', 'a', 'm', 'p' 'l' 'e') ?
$chars_array = preg_split('//', 'example', -1, PREG_SPLIT_NO_EMPTY);
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php