kotlin contains
snippet in kotlin

kotlin contains

user5027

var word = "grepper"

if(word.contains("pp")) {
    println("yes")
}