Contact Free trial Login

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" }

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub