LTRIM Function
The LTRIM function removes leading spaces from a character string. If you need to remove any
leading character other than space, use the TRIM function and specify the value of the character.
See
the"TRIM Function" (page
LTRIM is a Neoview SQL extension.
LTRIM (character-expression)
character-expression
is an SQL character value expression and specifies the string from which to trim leading
spaces. See
Considerations for LTRIM
Result of LTRIM
The result is always of type VARCHAR, with maximum length equal to the fixed length or
maximum variable length of character-expression.
Example of LTRIM
Return 'Robert_____ ':
LTRIM ('
See
"TRIM Function" (page 480)
418
SQL Functions and Expressions
480).
"Character Value Expressions" (page
Robert
')
and
255).
"RTRIM Function" (page
455).