Oracle RTRIM() Function

RTRIM(str) is a String function of Oracle. This function returns the string by removing given characters from the right side.

Syntax

Parameters

string1 : string to be trimmed from right-hand side.

trim_string : it is optional. It is the string to be removed from right-hand side of the sting1.

Return

It returns string by removing given characters from the right side.

Example 1


Oracle String RTRIM() Function

Example 2


Oracle String RTRIM() Function
Next TopicOracle String




Latest Courses