Re: remove ' from string
| From: | Dan Hardiker | Date: | Wed, 19 Mar 2003 10:36:23 +0000 |
| Subject: | Re: remove ' from string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140269@lists.php.net to get a copy of this message | ||
> Any functions to remove ' from a longstring?
<?php
$myLongString = "......'..'.....'.....";
$myLongString = str_replace("'", "", $myLongString);
?>
et voila! Simple huh ;)
For more info, check out: http://www.php.net/str_replace
--
Dan Hardiker [dhardiker@staff.firstcreative.net]
ADAM Software & Systems Engineer
First Creative