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

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