Loading TOC...

MarkLogic 12 EA 2 Product Documentation
fn.substringAfter

fn.substringAfter(
   input as String?,
   after as String?,
   [collation as String]
) as String?

Summary

Returns the substring created by taking all of the input characters that occur after the specified $after characters.

Parameters
input The string from which to create the substring.
after The string after which the substring is created.
collation The optional name of a valid collation URI. For information on the collation URI syntax, see the Search Developer's Guide.

Example

fn.substringAfter("123456", "3");

=> "456"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.