Char
→ stringReturns the character corresponding to a given ASCII code.
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.Char(asciiCode)
1 argument
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
asciiCode |
number | Yes | ASCII character code (0–255) |
Examples
Write(Platform.Function.Char(65)); // "A"
Write(Platform.Function.Char(97)); // "a"
Write(Platform.Function.Char(10)); // newline character
Write(Platform.Function.Char(44)); // ","