Answers for "how to remove comma from string at left ot at right php"

PHP
0

php remove last character from string if comma

$string = rtrim($string, ',');
Posted by: Guest on June-24-2020

Code answers related to "how to remove comma from string at left ot at right php"

Browse Popular Code Answers by Language