note 79138 rejected from function.str-replace by nlopess
| From: | nlopess@php.net | Date: | Sat, 24 Nov 2007 11:32:04 +0000 |
| Subject: | note 79138 rejected from function.str-replace by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132535@lists.php.net to get a copy of this message | ||
Note Submitter: hamza at supinfo dot com
----
Hello,
I want to replace the words "my", "and" and "is" by : ", ".
I mean, if $a = "Hello my name is john and i am 20 years old"
I want the result to be "Hello, name, john, i, am, 20, years old"
Can you help me ?