RE: [PHP] how do you erase quotes from variable?
| From: | Boget, Chris | Date: | Wed, 24 Jan 2001 22:39:59 +0000 |
| Subject: | RE: [PHP] how do you erase quotes from variable? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36511@lists.php.net to get a copy of this message | ||
> I have a variable(s) that hold the string:
> "name"
> and I'd like to kill the quotes so it contains:
> name
> I am aware of the strlen() function but can find the concant
$newVar = eregi_replace( "\"", "", $varWithAboveData );
Chris