Char

Overview

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.

Syntax

Char(1, 2)

Function Properties

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

Usage

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.