Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php substr remove last 4 characters

echo substr($string, 0, -3);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #substr #remove #characters
ADD COMMENT
Topic
Name
7+6 =