---
schema_version: "1"
id: 2f11b45b9010e1aa0477e9b2a7f82dd05be991fd6abbe0e343a7a2ee5a0dcd00
title: fromCharCode
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-strings-functions-fromcharcode.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-strings-functions-fromcharcode
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 171df231adc81a25f859e9a5fa6aa2831f168dd4b0254c27400e522a9f112593
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# fromCharCode

## [](#fromcharcode1)fromCharCode(charCode: Number): String

指定された Unicode に一致する文字を返します。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>charCode</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">入力 Unicode (​<code>Number</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、Unicode 番号 ​`117`​ を入力し、文字「u」を返します。

#### [](#ソース)ソース

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

#### [](#出力)出力

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

## [](#fromcharcode2)fromCharCode(charCode: Null): Null

`fromCharCode`​ を ​`null`​ 値に使用できるようにするヘルパー関数。

_DataWeave バージョン 2.4.0 で導入されました。_