toSnakeCase

Converts str to snake case.

static pure
string
toSnakeCase
(
string str
)

Parameters

str string

The string to convert to snake case.

Return Value

Type: string

The input string str converted to snake case.

Meta