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