LTRIM(x,y) is a string function that removes all of the characters specified in the character string y (string specification) from the start of the character string x (string specification).
The result of LTRIM(x,y), therefore, starts with the first character that was not specified in y. Only expressions that produce an alphanumeric value are permitted as string specifications.
|
Result of the LTRIM(x,y) function |
LTRIM(x) |
Spaces only (Code attribute ASCII, UNICODE) are removed from x. |
x is a NULL value |
NULL Value |
SQL Tutorial, Changing Character Strings
See also: