Trim leading spaces from a string.
| SELECT LTrim(” SQL Tutorial”) AS LeftTrimmedString; |
The LTrim() function eliminates spaces at the beginning of a string.
Note: Also consider the RTrim() function for removing trailing spaces from a string.
| LTrim(string) |
|
Parameter |
Description |
|
string |
Required. Specifies the string from which leading spaces will be removed. |
|
Works in: |
From Access 2000 |