Trims leading blanks from a character string.
$ltrim(string)
| string | a character string or an expression that evaluates to a character string |
Character string.
Use $ltrim to remove leading spaces from a character string.
For output purposes, the implicit length of the result returned by $ltrim is the same as the length of string.
$ltrim(Salary)
Evaluates to "20000" if Salary is 20,000 (INT data type).