string to array?
| From: | Leston Drake | Date: | Thu, 13 Jun 2002 17:17:50 +0000 |
| Subject: | string to array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102001@lists.php.net to get a copy of this message | ||
Hi all,
I have a string something like "10.2.3"
I want to be able to use the "." as a delimiter to reference the elements (10, 2, and 3).
My thought was to create an array, using "." as the delimiter.
Is there a function that will create an array out of a string, using a delimiter you specify?
I seem to have read something like that, but I can't find it now.
Any other ideas would be welcome.
TIA
--Leston