I'm looking for a way to eliminate the (') at the beginning and end of a string, but still leave the other ones that may be in there. Here's what I have to get rid of the single quotes at the beginning of the string:
$value = 'Arny's Plant Shop';
$converted = ereg_replace("'", "", $value);
// will return - Arny's Plant Shop'
What can I add to kill that quote at the end as well?
Thanks,
Shaun