ltrim

(PHP3 , PHP4 )

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. The whitespace characters it currently strips are: "\n", "\r", "\t", "\v", "\0", and a plain space.

See also chop() and trim().