fn:contains( parameter1 as xs:string?, parameter2 as xs:string?, [collation as xs:string] ) as xs: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.