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"'): stringParameters
| Parameter | Type | Description |
|---|---|---|
$string | string | The input string |
$characters | string |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000