ltrim

(PHP 3, PHP 4 >= 4.0b1)

ltrim --  Strip whitespace from the beginning of a string

Description

string ltrim (string str)

This function returns a string with whitespace stripped from the beginning of str. The whitespace characters it currently strips are: "\n", "\r", "\t", "\v", "\0", and a plain space.

See also chop(), rtrim(), and trim().