contains

fun contains(string: String): Boolean(source)

Returns true if strings contains string, and false otherwise.

MDN Reference