Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove last character from string if comma

$string = rtrim($string, ',');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #character #string #comma
ADD COMMENT
Topic
Name
2+1 =