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