Name
ltrim — remove leading whitespace
Synopsis
string ltrim(
str)
;
string
str
;
Description
Returns str with the leading
whitespace removed. Whitespace is defined as those characters whose ASCII
character codes are less than or equal to 0x20 (the space character).
Example 39. ltrim
Example
string trimmed = ltrim(" Hello! "); // = "Hello! "