check substring in kotlin code example Example: kotlin check if string contains "AbBaCca".contains("bac", ignoreCase = true)