RIGHT-TRIM function
Removes trailing white space, or other specified characters, from a CHARACTER or LONGCHAR expression.
Syntax
expression
trim-chars
ExampleThe following example shows the effects of the TRIM, RIGHT-TRIM, and LEFT-TRIM functions:
Notes
- The RIGHT-TRIM function is similar to the TRIM function except that it trims characters only from the right end of the string.
- If
expression
is a case-sensitive field or variable, thentrim-chars
is also treated as case sensitive. Otherwise,trim-chars
is not case sensitive.- The RIGHT-TRIM function is double-byte enabled. The specified
expression
andtrim-chars
arguments can contain double-byte characters. RIGHT-TRIM does not remove double-byte space characters by default.See also
OpenEdge Release 10.2B
|