94
PHP string trim() function
PHP string trim() function is in-built function. It is used to strip whitespace from the beginning and end of a string or both side of a string.
Syntax:
Parameter | Description | Required/Optional |
---|---|---|
String | Specify the string to check. | Required |
charlist | Specify the characters to remove. Following character:
|