Answers for "php remove inverted commas from both ends"

PHP
0

remove string after comma in php

preg_replace('/^([^,]*).*$/', '$1', $print);
substr($string, 0, strrpos($string.",", ","));
Posted by: Guest on March-18-2021
0

remove behind comma php

$print=preg_replace('/^([^,]*).*$/', '$1', $print);
Posted by: Guest on March-30-2020

Code answers related to "php remove inverted commas from both ends"

Browse Popular Code Answers by Language