> 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
>
> Little Help?
>
> Mike
If you *know* the variable is quoted you could also do:
$new = substr($variable, 1, -1);
I think this would be faster if you were doing a zillion of them as it
doesn't have to find the quotes.
Dustin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]