isTitleCase
Returns true if this character is a title case letter.
expect fun Char.isTitleCase(): Boolean(source)
fun main() {
val text = "Hello World! This Is Kotlin."
val titleCaseCount = text.count { it.isTitleCase() }
println("Number of title‑case letters: $titleCaseCount")
}