|
ltrimStrip whitespace (or other characters) from the beginning of a string Description
string ltrim
( string
$str
[, string $character_mask
] )Strip whitespace (or other characters) from the beginning of a string. Parameters
Return Values
This function returns a string with whitespace stripped from the
beginning of
Changelog
Examples
Example #1 Usage example of ltrim
<?php The above example will output: string(32) " These are a few words :) ... " string(16) " Example string " string(11) "Hello World" string(30) "These are a few words :) ... " string(30) "These are a few words :) ... " string(7) "o World" string(15) "Example string " See Also
|