note 8876 added to strtok
| From: | tysonlt at webmedia dot com dot au | Date: | Tue, 03 Oct 2000 19:34:59 +0000 |
| Subject: | note 8876 added to strtok | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5988@lists.php.net to get a copy of this message | ||
Why use strtok at all?
If it's so flaky, why not just use split?
eg.
$token_array = split("$delim", $string);
Then you can use all the nice array functions on it! :)
http://www.php.net/manual/function.strtok.php