Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string remove last character

echo substr('a,b,c,d,e,', 0, -1);
# => 'a,b,c,d,e'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #string #remove #character
ADD COMMENT
Topic
Name
6+6 =