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 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to