capitalized

fun String.capitalized(): String

It makes a copy of a string with the first character converted to uppercase.

Return

a copy of the string capitalized

Sources

Link copied to clipboard