|Oracle® OLAP DML Reference
11g Release 2 (11.2)
Part Number E17122-05
The RTRIM function removes characters from the right of a text expression, with all the rightmost characters that appear in another text expression removed. The function begins scanning the base text expression from its last character and removes all characters that appear in the trim expression until reaching a character that is not in the trim expression and then returns the result.
TEXT or NTEXT based on the data type of the first argument.
RTRIM (text-exp [, trim-exp])
A text expression that you want trimmed.
A text expression that is the characters to trim. The default value of trim-exp is a single blank.