contains
function, since version 1.1.5
categories: strings
contains(str, search)
returns true if input string str
contains string search
parameters
- str: string - input string
- search: string - search
return type
boolean
examples
contains('hello there', 'the')
contains('hello there', 'x')
returns
true
false