Strip
Less than 1 minute
Strip
Strip whitespace, newlines and tabs from a string.
class StripMethods
run
public run(string $string, string $replacement): stringReturns: string
Parameters
| Parameter | Type | Description |
|---|---|---|
$string | string | The string to strip |
$replacement | string | The replacement string |
Generated by Hazaar API Doc Generator on Thu, 22 Oct 2026 05:05:28 +0000