74
PHP string ltrim() function
PHP string ltrim() function is predefined function. It is often used to remove whitespace from both sides of a string or other character from the left side of a string.
Syntax:
Parameter | Description | Required/Optional |
---|---|---|
String | Specify the string to check. | Required |
charlist | Specify character to remove from the string.
|