note 38277 added to function.preg-replace

From: Date: Mon, 15 Dec 2003 07:15:02 +0000
Subject: note 38277 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-61966@lists.php.net to get a copy of this message
<?php // enough to delete any double quotes within a string. // hope this can save your time :-) echo $tempfrom; // "CHIK Ka Man, Carmen" <carmen.chik@somewhere.com> $tempfrom = preg_replace('/"/', "", $tempfrom); echo $tempfrom; // CHIK Ka Man, Carmen <carmen.chik@somewhere.com> ?> ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38277 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38277&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38277&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61966) next »