Trim
Less than 1 minute
Trim
Trims whitespace or other characters from the beginning and end of a string.
Methods
run
public run(string $string, string $characters = '" \n\r\t\v\x00"'): string
Parameters
Parameter | Type | Description |
---|---|---|
$string | string | The input string |
$characters | string |
Generated by Hazaar API Doc Generator