note 36025 added to str_replace

From: Date: Tue, 23 Sep 2003 12:11:28 +0000
Subject: note 36025 added to str_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-56967@lists.php.net to get a copy of this message
I wanna replace a question mark '?' by "<" out of a string. what should i do? I've tried the following, but they just won't work, any idea what i should do!? $text = str_replace( "?/f", "</f", $text ); // nothing happened $text = str_replace( "\?/f", "</f", $text ); //nothing happened. ---- Manual Page -- http://www.php.net/manual/en/str_replace.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36025 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36025&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36025&report=yes

« previous php.notes (#56967) next »