note 85834 added to function.explode
| From: | ctrlw at osu1 dot php dot net | Date: | Fri, 19 Sep 2008 16:23:35 +0000 |
| Subject: | note 85834 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144553@lists.php.net to get a copy of this message | ||
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('');
----
Server IP: 212.124.37.9
Probable Submitter: 85.178.195.19
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/85834
Del: integrated -- https://master.php.net/note/delete/85834/integrated
Del: useless -- https://master.php.net/note/delete/85834/useless
Del: bad code -- https://master.php.net/note/delete/85834/bad+code
Del: spam -- https://master.php.net/note/delete/85834/spam
Del: non-english -- https://master.php.net/note/delete/85834/non-english
Del: in docs -- https://master.php.net/note/delete/85834/in+docs
Del: other reasons-- https://master.php.net/note/delete/85834
Reject -- https://master.php.net/note/reject/85834
Search -- https://master.php.net/manage/user-notes.php