PowerCenter
- PowerCenter 10.5.1
- All Products
RTRIM(string[,trim_set] )
Argument
| Required/
Optional
| Description
|
---|---|---|
string
| Required
| Any string value. Passes the values you want to trim. You can enter any valid transformation expression. Use operators to perform comparisons or concatenate strings before removing blanks from the end of a string.
|
trim_set
| Optional
| Any string value. Passes the characters you want to remove from the end of the string. You can also enter a text literal. However, you must enclose the characters you want to remove from the end of the string within single quotation marks, for example, 'abc'. If you omit the second string, the function removes blanks from the end of the first string.
RTRIM is case sensitive.
|
RTRIM( LAST_NAME, 're')
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RTRIM( RTRIM( NAMES ), 't' )