---
schema_version: "1"
id: 416026e340ab72f030d323e233c627aa00811758adcdb2c68f7f22013ae0bf72
title: fromCharCode
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-strings-functions-fromcharcode.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-strings-functions-fromcharcode
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 98c48e4883f9ee0eb228c5f972ab522d96590b38a799eebc3edd3ec5fb47d678
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# fromCharCode

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## fromCharCode(charCode: Number): String

Returns a character that matches the specified Unicode.

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>charCode</code></p></td><td><p>The input Unicode (a <code>Number</code>).</p></td></tr></tbody></table>

### Example

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

#### Source

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

#### Output

```JSON
{ "fromCharCode": "u" }
```

## fromCharCode(charCode: Null): Null

Helper function that enables `fromCharCode` to work with a `null` value.

_Introduced in DataWeave version 2.4.0._
