Skip to content

Kirby 4.5.0

Str::ltrim()

Safe ltrim alternative

Str::ltrim(string $string, string $trim = ' '): string

Parameters

Name Type Default
$string * string
$trim string ' '

Return type

string

Parent class

Kirby\Toolkit\Str