October 2005
Intermediate to advanced
372 pages
11h 35m
English
ltrim()
string ltrim ( stringstr[, stringtrim_chars] )
The ltrim() function works like the normal trim(), except it only trims whitespace from the lefthand side of a string.
$string = ltrim(" testing ");
// $string is "testing "