Timothy's expression output one empty element at the start and the end, but otherwise worked ( and
I don't know why :-(
Erwin wrote:
Timothy Hitchens wrote:$string = explode( '', 'string' );
That won't work.. empty delimiter errors always..Your right, I didn't know.
you will have to useBut your preg thingy will only split at spaces, so that'll have to change to
my preg one from earlier...
<?
$string = 'test';
preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY);
?>
in this case, right?
Grtz Erwin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php