note 22415 added to function.split
| From: | fotw at gmx dot net | Date: | Mon, 17 Jun 2002 16:50:16 +0000 |
| Subject: | note 22415 added to function.split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31947@lists.php.net to get a copy of this message | ||
Ups! It seems that neither explode nor split REALY takes a STRING but only a single character as a
string for splitting the string.
I found this problem in one of my codes when trying to split a string using ";\n" as
breaking string. The result, only ";" was thaken... the rest of the string was ignored.
Same when I tried to substitute "\n" by any other thing. :(
--
http://www.php.net/manual/en/function.split.php
http://master.php.net/manage/user-notes.php?action=edit+22415
http://master.php.net/manage/user-notes.php?action=delete+22415
http://master.php.net/manage/user-notes.php?action=reject+22415