PHP » GoLang |
login |
register |
about
|
ltrim(PHP 4, PHP 5, PHP 7) ltrim — Strip 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
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 " |
more
Recently updated
more
Most requested
more
Last requests
|