toKebabCase

Converts str to kebab case.

static pure
string
toKebabCase
(
string str
)

Parameters

str string

The string to convert to kebab case.

Return Value

Type: string

The input string str converted to kebab case.

Meta