note 9668 added to explode
| From: | schoch at bigfoot dot com | Date: | Fri, 17 Nov 2000 17:25:42 +0000 |
| Subject: | note 9668 added to explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7814@lists.php.net to get a copy of this message | ||
I just figured out that separator doesn't have to be a single character.
Thus, if you have a string like "text1 = text2", you can use " = " as the
separator to get "text1" and "text2" as the two elements in the resulting array.
http://www.php.net/manual/function.explode.php