> For the complete documentation index, see [llms.txt](https://docs.cheddar.vihan.org/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cheddar.vihan.org/docs/standard-library/string/chars.md).

# Chars

| type   | returns         |
| ------ | --------------- |
| Getter | `array<string>` |

## Explanation

Returns an array of the bytes in a given string, handles unicode surrogates properly.

## Examples

```swift
"Hello" == ["H", "e", "l", "l", "o"]
"🐐 > 🐑" == ["🐐", " ", ">", " ", "🐑"]
```
