Char

Returns the ASCII character specified by the ASCII character code in the first parameter. An optional second parameter specifies the number of times to repeat the return of the ASCII character.

Char(1, 2)

OrdinalTypeDescription
1stringRequiredASCII character code
2numericRequiredNumber of times to repeat the ASCII character

Given the function below:

The system returns:

Given the function below:

The system returns:

Given the function below:

The system returns:

The code sample below pulls content from a data extension and replaces and carriage return-line feed combinations with an HTML
tag.