This function returns a String with whitespace stripped from the beginning of str. Without the second parameter, ltrim()
will strip these characters:
Syntax:
ltrim ( string $str [, string $character_mask ] ) : string
Example #1 Usage example of ltrim()
The post PHP ltrim() Function appeared first on FreeWebMentor.
This post first appeared on Programming Blog Focused On Web Technologies, please read the originial post: here