first argument– list or string
second argument– any object to search for in the list or a substring to search for in the string
This function returns:
1 -- list contains a given value or the string contains the given substring
The following expression returns 1.
<contains> <list> <s>apples</s> <s>oranges</s> </list> <s>apples</s> </contains>
The following expression returns 1
<contains> <s>foobar</s> <s>foo</s> </contains>