Skip to content

Kirby 4.5.0

Str::ucfirst()

A UTF-8 safe version of ucfirst()

Str::ucfirst(?string $string = null): string

Parameters

Name Type Default
$string string|null null

Return type

string

Parent class

Kirby\Toolkit\Str