Extract Strings
    • 1 Minute to read
    • Dark
      Light

    Extract Strings

    • Dark
      Light

    Article summary

    These functions copy the information contained in a target source. They return this information as a text string which can be displayed in a message or evaluated with operators and used in personalization rules or selections.

    Function

    Description

    ​fn:escapeXml​

    Extracts text from a target and escapes characters that could be interpreted as XML markup.

    ​fn:substring​

    Returns the subset of a target string as specified by start and end indices.

    ​fn:substringAfter​

    Extracts the subset of a string following the first occurrence of a specific substring.

    ​fn:substringBefore​

    Extracts the subset of a string before the first occurrence of a specific substring.

    ecm:nvl​

    Returns the specified object when not a null value.

    ​ecm:extractDomain​

    Extracts the domain part of the specified email address.

    ​ecm:coalesce​

    Returns the first not null argument from a specified list of arguments.


    Was this article helpful?

    What's Next