Skip to main content
Version: V1.0.0

RTRIM

Declaration

RTRIM(str)

Description

Removes trailing spaces from the string str.

Example

SELECT RTRIM('    obclient    ') AS rtrim;
+--------------+
| rtrim |
+--------------+
| obclient |
+--------------+
1 row in set (0.001 sec)