RTRIM(x,y)
RTRIM(x,y) is a string function that removes the blanks (code attribute ASCII, EBCDIC (
code tables)) or binary zeros (code attribute BYTE) from the end of the character string x and then all of the characters specified in the character string y. The result of RTRIM(x,y), therefore, ends with the last character that was not specified in y.|
Result of the RTRIM(x,y) function | |
RTRIM(x) |
Only blanks (code attribute ASCII, EBCDIC or binary zeros (code attribute BYTE) are removed from x. |
x is NULL value |
NULL value |
See also:
TRIM(x,y) LTRIM(x,y)