What I'm trying to find out is which php function allows me to remove double quotes from the beginning and end of a text string if they exist
Use the trim function:
$str = '"Hello"';
echo trim($str, '"'); // Outputs Hello
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With