Divide into words
| From: | Uros Gruber | Date: | Mon, 16 Dec 2002 17:01:59 +0000 |
| Subject: | Divide into words | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128428@lists.php.net to get a copy of this message | ||
Hi!
For example i have some words:
Today is very beautiful day and sun is shining
What i want to get from this is array
words
[Today] => 0
[Is] => 6,30
[Very] => 8
[beautiful] => 12
......
Can somebody please help me with this. Those nubers are
position of special word in above sentence. If word repeates
i want to have both positions saved in same row like word is.
I tried something but i think it's to lame.
--
bye,
Uros