fn:substring-after( $input as xs:string?, $after as xs:string?, [$collation as xs:string] ) as xs:string?
Returns the substring created by taking all of the input characters that occur after the specified $after characters.
fn:substring-after("123456", "3") => "456"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.