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