note 16052 added to function.split
| From: | evan at unixpimps dot org | Date: | Sun, 14 Oct 2001 23:14:46 +0000 |
| Subject: | note 16052 added to function.split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18912@lists.php.net to get a copy of this message | ||
You need to 'escape' the "." (\.) because split() is using regular expresions to
break up the string.
In a regular expresion a "." will match any character.
--
http://www.php.net/manual/en/function.split.php
http://master.php.net/manage/user-notes.php?action=edit+16052
http://master.php.net/manage/user-notes.php?action=delete+16052
http://master.php.net/manage/user-notes.php?action=reject+16052