Re: str_replace - is it case sensitive
| From: | Hannes Magnusson | Date: | Sat, 14 Aug 2004 13:44:13 +0000 |
| Subject: | Re: str_replace - is it case sensitive | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193792@lists.php.net to get a copy of this message | ||
On Sat, 14 Aug 2004 14:37:09 +0100
blue.dalmatian@btopenworld.com (Andrew W) wrote:
> Is the str_replace function case sensitive, I cant seem to find any
> answer on the PHP manual website or in my books.
Yes. For case in-sensitve use str_ireplace
Look at the PHP manual one more time under "See also"
>
> If it is, is there anyway to make it case insensitive so it can handle
> mIxEd CaSe woRdS in any combination?
>
> Thanks
> AW