RTRIM(str): Trim the string str with trailing space characters : RTRIM « String Functions « MySQL Tutorial






mysql>
mysql> SELECT RTRIM('java2s   ');
+--------------------+
| RTRIM('java2s   ') |
+--------------------+
| java2s             |
+--------------------+
1 row in set (0.00 sec)

mysql>








23.37.RTRIM
23.37.1.RTRIM(str): Trim the string str with trailing space characters
23.37.2.Trimming the space from right