Answers for "remove comma at end php"

PHP
4

remove last comma from string php

rtrim($my_string, ',');
Posted by: Guest on November-12-2020
0

remove behind comma php

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

Code answers related to "remove comma at end php"

Browse Popular Code Answers by Language