php rtrim comma

97

php rtrim comma -

rtrim($my_string, ',');

php remove last character from string if comma -

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

Comments

Submit
0 Comments