> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/flow/functions/ascent.text.md).

# Ascent.text

#### ascent.text.isASCII

Checks if a string contains only ASCII characters.

```
ascent.text.isASCII(input: string): boolean;
```

<table><thead><tr><th width="191.39996337890625">Parameter</th><th width="241.20001220703125">Type</th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td>String</td><td>The value that needs to be checked</td></tr></tbody></table>

Example

```
ascent.text.isASCII("72 101 108 108 111 33")
```

#### ascent.text.isUFT8

Checks if a string contains only UTF-8 characters.

```
ascent.text.isUTF8(input: string): boolean;
```

<table><thead><tr><th width="191.39996337890625">Parameter</th><th width="241.20001220703125">Type</th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td>String</td><td>The value that needs to be checked</td></tr></tbody></table>

Example

```
ascent.text.isUTF8("🚀")
```
