RE: [PHP-WIN] Case insensitive str_replace

2001-04-03 Thread Asendorf, John
facit > -Original Message- > From: Matthew [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 10:51 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Case insensitive str_replace > > > Hello... > > Does anyone know how to do a case insensitive str_replace? >

Re: [PHP-WIN] Case insensitive str_replace

2001-04-03 Thread Chris Adams
On 3 Apr 2001 00:49:05 -0700, Matthew <[EMAIL PROTECTED]> wrote: >I'm not sure where to put the /i. >If I had code like: > >$print preg_replace("test", "this is a test", "test TEST tEsT TEst") > >where in that code would i put the modifier? I don't think that code would work as it is without putt

Re: [PHP-WIN] Case insensitive str_replace

2001-04-03 Thread Matthew
I'm not sure where to put the /i. If I had code like: $print preg_replace("test", "this is a test", "test TEST tEsT TEst") where in that code would i put the modifier? -- Matt [EMAIL PROTECTED] [EMAIL PROTECTED] < www.mralston.co.uk /> ""James Moore"" <[EMAIL PROTECTED]> wrote in message [EMAI

RE: [PHP-WIN] Case insensitive str_replace

2001-04-02 Thread James Moore
> > Does anyone know how to do a case insensitive str_replace? > I don't want to alter the case of the original string (so I can't do a > strtolower first). > > I've seen some functions used with the likes of [^Aa] in them but I'm not > sure how to use this... > Anyone got any ideas? use preg_

[PHP-WIN] Case insensitive str_replace

2001-04-02 Thread Matthew
Hello... Does anyone know how to do a case insensitive str_replace? I don't want to alter the case of the original string (so I can't do a strtolower first). I've seen some functions used with the likes of [^Aa] in them but I'm not sure how to use this... Anyone got any ideas? -- Matt [EMAIL