# text.charAt · Rell standard library · Chromia Docs (concept)

> pure function charAt(index: integer ): integer Deprecated (for removal): Use 'char_at' instead Retrieves the 16-bit code of the character at the specified 

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/text/char-at/

FUNCTION

# text.charAt

```signature
pure function charAt(index: integer): integer
```

**Deprecated** (for removal): Use 'char\_at' instead

Retrieves the 16-bit code of the character at the specified index within this text.

**Parameters**

* **index** — the index of the character

**Throws**

* `exception` — if `index` is greater than or equal to the size of this text

Since 0.9.0

**Alias of** [text.char\_at](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/text/char_at/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/text/char-at.html)Generated API reference, mirrored from the live docs
