ltrim

ltrim -- Strip whitespace from the beginning of a string.

Description

string ltrim(string str);

This function strips whitespace from the start of a string and returns the stripped string.

See also chop() and trim().