DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
string remove last two characters php
echo substr($string, 0, -2);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#string
#remove
#characters
#php
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit