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