Re: Parsing a string
| From: | Hardy Merrill | Date: | Fri, 23 Feb 2001 14:46:26 +0000 |
| Subject: | Re: Parsing a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41310@lists.php.net to get a copy of this message | ||
Look up the "split" and "explode" functions - they both do basically
the same thing.
$token_list = split(",", $string_to_parse);
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Todd Cary [todd@aristesoftware.com] wrote:
> I have a comma delimited string that I need to parse into an array. Is
> there a PHP function that will do that ?
>
> Many thanks..........
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net