String Functions MySQL Tutorial

mysql>
mysql> SELECT TRIM(BOTH 'XXX' FROM "XXXFileNameXXX");
+----------------------------------------+
| TRIM(BOTH 'XXX' FROM "XXXFileNameXXX") |
+----------------------------------------+
| FileName                               |
+----------------------------------------+
1 row in set (0.00 sec)
mysql>