Trim leading spaces from a string.
SELECT LTRIM(” SQL Tutorial”) AS LeftTrimmedString; |
The LTRIM() function eliminates leading spaces from a string.
LTRIM(string) |
Parameter |
Description |
string |
Input required: The string from which leading spaces will be removed. |
Works in: | From MySQL 4.0 |