
fn.contains( parameter1 as String?, parameter2 as String?, [collation as String] ) as Boolean
Returns true if the first parameter contains the string
from the second parameter, otherwise returns false.
fn.contains("this is a string", "s a s");
=> true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.