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