Skip to content

Kirby 4.4.1

Str::camelToKebab()

Converts a camel-case string to kebab-case

Str::camelToKebab(?string $value = null): string

Parameters

Name Type Default Description
$value string|null null The string to convert

Return type

string

Parent class

Kirby\Toolkit\Str