kotlin find character in string code example
Example 1: kotlin check if string contains
"AbBaCca".contains("bac", ignoreCase = true)
Example 2: Kotlin get char in string
val hello = "Hello World"
// Using get() function
val W = hello.get(6)
// Using indexing
val e = hello[1]