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 personalisation rules or selections.

Modifications to the extracted values are made for the purposes of the query only. The actual data stored in the target source is not changed in any way.


Function

Description

ecm:base64EncodeUse this function to encode a recognizable string within a personalized link. After encoding, the personalized string (for example, the contact's first or last name) is not readable.

​fn:replace​

Replaces all occurrences of a string in a target with a specified string.

​fn:toLowerCase​

Converts all of the characters in a string to lower case for the purpose of performing a query.

​fn:toUpperCase​

Converts all the characters of a string to upper case for the purpose of performing a query.

​fn:trim​

Removes leading and trailing white space, tabs, and linefeed characters from a string.

​ecx:capitalizeFirstLetter​

Converts the first letter of a string to upper case.

​ecx:capitalizeWords​

Converts the first letter of every word in a string to upper case.

​ecm:concat​

Concatenates the specified string values.

​ecm:toDate​

Converts a target string or value into a date data type.

​ecm:urlEncode​

Encodes the specified object as a URL.

​ecm:urlEncodeUsingCharset​

Encodes the specified object as a URL using the specified character set.