
fn.endsWith( parameter1 as String?, parameter2 as String?, [collation as String] ) as Boolean
Returns true if the first parameter ends with the string
from the second parameter, otherwise returns false.
fn.endsWith("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.