note 8876 modified in strtok by jmoore
| From: | jmoore@php.net | Date: | Tue, 14 Aug 2001 23:53:48 +0000 |
| Subject: | note 8876 modified in strtok by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16726@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/en/strtok.php