contains

function, since version 1.1.5
categories: strings

returns true if input string str contains string search

parameters

return type

boolean

examples

contains('hello there', 'the')       
contains('hello there', 'x')       

returns

true
false

Related functions:

Update your privacy settings