Skip to content

Kirby 6.0.0

Str::from()

Returns the rest of the string starting from the given character

Str::from(string $string, non-empty-string $needle, bool $caseInsensitive = false): string

Parameters

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

Return type

string

Parent class

Kirby\Toolkit\Str