note 14966 deleted from function.explode by jimw

From: Date: Fri, 07 Dec 2001 21:25:08 +0000
Subject: note 14966 deleted from function.explode by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22010@lists.php.net to get a copy of this message
yes, like the perl func... If you want to split null spaces in a char into an array, go like this: $str = 'string'; $chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY); print_r($chars); //this prints out Array([0]=>s[1]=>t[2]=>r[3]=>i[4]=>n[5]=>g);

« previous php.notes (#22010) next »