note 1921 modified in explode by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 17:36:52 +0000 |
| Subject: | note 1921 modified in explode by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1326@lists.php.net to get a copy of this message | ||
If you have a string seperated by nulls, one good way to explode () it is to use urlencode, for
example:
<?
$newarray = explode ("%00", rawurlencode ($nullsepstr));
?>
This will explode your string properly.
http://www.php.net/manual/function.explode.php