Hi I want to check if a specific character is at the begginign and end of some string data, then if it exists, chop it off. This is what I have, but it doesn't work. P.S. is there a simpler way to do it :$f_char = substr($products_description, 0, 1);
$l_char = substr($products_description, -1);
if (($f_char == '"') && ($l_char == '"')) {
echo "cleaning description";
$len = strlen($products_description);
$products_description = substr($products_description, 1, $len -1);
}