DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php remove last character in string
//Remove the last character using substr
$string
=
substr
(
$string
,
0
,
-
1
)
;
PREVIOUS
NEXT
Tagged:
#php
#remove
#character
#string
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit