toSentenceCase

private fun String.toSentenceCase(): String(source)

Turns the first character uppercase while all other characters become lowercase.