ltrim() - string
Strip whitespace (or other characters) from the beginning of a string.
Parameters :
str - The input string. character_mask - You can also specify the characters you want to strip, by means of the
character_mask parameter.
Simply list all characters that you want to be stripped. With
.. you can specify a range of characters.
Syntax
string ltrim
( string $str
[, string $character_mask
] )
Example
Output / Return Value
Limitations
Alternatives / See Also
Reference