Skip to content

Kirby 5.0.4

Str::afterStart()

Removes the given substring or character only from the start of the string

Str::afterStart(string $string, string $needle, bool $caseInsensitive = false): string

Parameters

Name Type Default
$stringrequired string no default value
$needlerequired string no default value
$caseInsensitive bool false

Return type

string

Parent class

Kirby\Toolkit\Str