string contains kotlin code example Example: kotlin contains var word = "grepper" if(word.contains("pp")) { println("yes") }