Re: Case non-sensitive replacing with str_replace?

From: Date: Wed, 20 Mar 2002 05:30:50 +0000
Subject: Re: Case non-sensitive replacing with str_replace?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89277@lists.php.net to get a copy of this message
on 3/20/02 12:24 AM, Martin Towell at martin.towell@world.net wrote: use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but the former function does) -----Original Message----- From: Leif K-Brooks [mailto:eurleif@buyer-brokerage.com] Sent: Wednesday, March 20, 2002 4:16 PM To: php-general@lists.php.net Subject: [PHP] Case non-sensitive replacing with str_replace? I'm doing some replacing with str_replace, but it's case sensitive. Is there any way to make it not case-sensitive? First of all, the function is eregi_replace(), not ereg_ireplace(). Anyway, that one goes slower because it has regular expressions. Is there any function that does't have regular expressions, but isn't case sensitive?

« previous php.general (#89277) next »