note 85834 deleted from function.explode by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Sep 2008 16:28:01 +0000 |
| Subject: | note 85834 deleted from function.explode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144555@lists.php.net to get a copy of this message | ||
Note Submitter: ctrlw
----
Use str_split() instead of explode(), if you want to convert a string into an array of characters
like sandaimespaceman tried. PHP's str_split() is equivalent to Javascript's split() with
an empty string as parameter: "a string".split('');