|
-
Sep 14th, 2002, 02:33 PM
#1
Thread Starter
Stuck in the 80s
Case Insensitive Replace?
Is there a way to do a replace that's not dependant upon the case?
ie: str_replace('dOg', 'frog', 'dog is cool');
-
Sep 14th, 2002, 08:21 PM
#2
Fanatic Member
preg_replace("/\dOg/isu",$string...
-
Sep 14th, 2002, 09:37 PM
#3
Thread Starter
Stuck in the 80s
I didn't even think of that.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|