Contact Us 1-800-596-4880

fromCharCode

fromCharCode(Number): String

Returns a character that matches the specified Unicode.

Parameters

Name Description

charCode

The input Unicode (a Number).

Example

This example inputs the Unicode number 117 to return the character "u".

Source

%dw 2.0
import * from dw::core::Strings
output application/json
---
{
  "fromCharCode" : fromCharCode(117)
}

Output

{ "fromCharCode": "u" }