mysql trim
snippet in sql

mysql trim

user804

SELECT TRIM(' trim ');

mysql trim characters

user336

SELECT TRIM('=' FROM '=FRESH COOKIES!=') AS Trimmed;
SELECT TRIM('=' FROM '====FRESH COOKIES!====') AS Trimmed;