Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql remove first and last character from string

/* remove any first & last character in mysql*/
SELECT substring(myfield,2, length(myfield)-2) FROM mytable;
 
PREVIOUS NEXT
Tagged: #mysql #remove #character #string
ADD COMMENT
Topic
Name
8+2 =