cant belive I forgot how to do this but, i want to split a string into a array, by no delimiter.
such as
$string = 'abc';
to
$array = ('a', 'b', 'c');
explode('', $string) wont work ofcourse.
Is there a way?
Looks like
preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
works for me http://us2.php.net/manual/en/function.str-split.php
any other way besides using a pattern?