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

# 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._
