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

> pure function char_ at(index: integer ): integer Retrieves the 16-bit code of the character at the specified index within this text. Parameters index — the

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

FUNCTION

# text.char\_at

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

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

[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
