String Functions MySQL Tutorial

mysql>
mysql> SELECT TRIM(LEADING 'x' FROM 'xxxhava2sxxx');
+---------------------------------------+
| TRIM(LEADING 'x' FROM 'xxxhava2sxxx') |
+---------------------------------------+
| hava2sxxx                             |
+---------------------------------------+
1 row in set (0.01 sec)
mysql>