DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+6 =
Submit