# Convert ascii to character?

**URL:** <https://forum.kirupa.com/t/convert-ascii-to-character/288953>\
**Category:** Uncategorized\
**Created:** [May 23, 2009, 9:11pm UTC](https://forum.kirupa.com/t/convert-ascii-to-character/288953 "2009-05-23T21:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldmanwinter](https://avatars.discourse-cdn.com/v4/letter/o/b38774/32.png) [@oldmanwinter](https://forum.kirupa.com/u/oldmanwinter)\
**Post date:** [May 23, 2009, 9:11pm UTC](https://forum.kirupa.com/t/convert-ascii-to-character/288953/1 "2009-05-23T21:11:06Z")

</div>

This is really simple, but I can’t it after spending 20+ minutes searching on google! I just want a function that turns a number into a character; basically the inverse of mystring.charCodeAt(0). For example-

```auto

mytextfield.text = "a";
myasciinumber = mytextfield.charCodeAt(0); // 97
trace(theFunctionICantFind(myasciinumber)); // would trace an 'a'

```

If anyone can tell me what that is I’d appreciate it, thanks!
