capitalize

private open fun capitalize(str: String): String

Capitalizes the first letter of a string.

Return

The capitalized string.

Parameters

str

The string to capitalize.