contains

contains(string string, string search) → boolean contains
Checks whether search string is contained within string.

Determines whether the string search is found in the string string.

Parameters
Return
Examples

contains("Hello", "el") // true contains("Hello", "zzz") // false