note 27336 added to function.str-replace

From: Date: Mon, 02 Dec 2002 17:50:49 +0000
Subject: note 27336 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-40254@lists.php.net to get a copy of this message
This function should work and should do the same as str_replace: function string_replace($pattern, $replacement, $string) { return implode(explode($pattern, $string), $replacement); } -- http://www.php.net/manual/en/function.str-replace.php http://master.php.net/manage/user-notes.php?action=edit+27336 http://master.php.net/manage/user-notes.php?action=delete+27336 http://master.php.net/manage/user-notes.php?action=reject+27336

« previous php.notes (#40254) next »