mysql>
mysql> SELECT TRIM(BOTH 'x' FROM 'xxxrntsoftxxx');
+------------------------------------+
| TRIM(BOTH 'x' FROM 'xxxrntsoftxxx') |
+------------------------------------+
| rntsoft |
+------------------------------------+
1 row in set (0.00 sec)
mysql>