NO case replace

From: Date: Wed, 27 Dec 2000 20:16:53 +0000
Subject: NO case replace
Groups: php.general 
Request: Send a blank email to php-general+get-31998@lists.php.net to get a copy of this message
I want to do a case-insensitive search through a string and replace with an insensitive string... for instance: $str = "This is this is THiS"; I need to run a replace that will turn this string into the following: $new_str = "<b>This</b> is <b>this</b> is <b>THis</b>"; Thanks for the input

« previous php.general (#31998) next »