Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / Character String Functions
 

Rtrim removes a set of characters from the right of a string

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>