Str::trim() Safe trim alternative kirby/src/Toolkit/Str.php#L1375 Str::trim(string $string, string $trim = ' '): string Parameters Name Type Default $string * string – $trim string ' ' Return type string Parent class Kirby\Toolkit\Str