Important
|
Deprecated in 5.0. Replaced with method trimLeft() of the string instance. |
ltrim(string) => String
Removes blanks (space and tab characters) from the left side of specified string.
string |
String |
String to trim |
Return
Source string with blanks at the left side removed.
Example
ltrim(" abc def "); // Will print "abc def "