depending on what you're replacing with what, a solution is eregi_replace. I
do not advice to upper nor lowercase the source as it will change parts of
data unwantedly.
/ Lars
www.ljweb.com
-----Original Message-----
From: Elman Cheng [mailto:[EMAIL PROTECTED]]
Sent: 16. august 2001 10:41
To: J- E- N
Cc: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: replace string - case insensitive
try to change the string to uppercase or lowercase first.
J- E- N wrote:
> hello
>
> str_replace is case sensitive, what function should i use for case
insensitive.
>
> thanks very much.
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]