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