The REPLACE merge field prefix lets you replace one value for another. For example, you can replace new line characters in an address field with commas. This is also useful in displaying the values from a multi-select picklist field in a more attractive manner than the default, semi-colon delimiter.
REPLACE
Syntax
{{REPLACE:FieldName:{FromValue}:{ToValue} }}
Values
FieldNameis the name of the field from the Template Builder window.
{FromValue}is the aspect of the FieldName that you want to alter.
{ToValue}is what you want to change the FromValue to instead.
Notes
A space is needed between the field and the end braces “} }}”.
Supported FromValue and ToValue entries:
{COLON}
{COMMA}
{NEWLINE}
{PERIOD}
{SEMICOLON}
{SPACE}
Literal Text
The FromValue and ToValue entries are literal text and the curly braces surrounding them need to be included. You can use Traditional Merge fields.