Re: text editing (parsing)
| From: | Anton Stroganov | Date: | Wed, 19 Sep 2001 17:44:59 +0000 |
| Subject: | Re: text editing (parsing) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67878@lists.php.net to get a copy of this message | ||
split() function will do what you require.
$string = "News, Bla, Blabla";
$textarray = split(", ", $string);
for more info see http://us.php.net/manual/en/function.split.php
(the main
php.net site seems to be down)
good luck
a.
----- Original Message -----
From: Jonas K <inan@post.com>
To: <php-general@lists.php.net>
Sent: Wednesday, September 19, 2001 10:41
Subject: [PHP] text editing (parsing)
> I need some help with parsing text. very simple. I have a text string like
> "News, Bla, Blabla" and i want to get the single words out of the string.
>
>
>
> --
> 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
>
>