Character String Functions Oracle PLSQL Tutorial

RTRIM stands for "right trim."
The general format for this function is:
RTRIM(string, characters_to_remove)

SQL> SELECT RTRIM('Computers', 's') FROM dual;
RTRIM('C
--------
Computer
SQL>