php rtrim comma

101

php rtrim comma -

rtrim($my_string, ',');

php remove last character from string if comma -

$string = rtrim($string, ',');

Comments

Submit
0 Comments