Removes all occurrences of needle from the beginning of haystack.
ltrim('abcabcHello', 'abc'); //=> 'Hello' ltrim(' Hello '); //=> 'Hello '
string to trim
the thing to trim
Generated using TypeDoc
Removes all occurrences of needle from the beginning of haystack.