note 10694 added to str_replace
| From: | bmelancon at eoncc dot com | Date: | Wed, 17 Jan 2001 23:07:09 +0000 |
| Subject: | note 10694 added to str_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9911@lists.php.net to get a copy of this message | ||
As a stand in for the missing stri_replace, use strtoupper() or strtolower() on the string to be
searched.
str_replace( strtoupper("tHiS"), "that", strtoupper("This tHis thIs
thiS") )
http://www.php.net/manual/en/function.str-replace.php