# char-at The character at CODEPOINT index n — the same coordinate system as `nth`/`slice` (never a raw byte fragment; `byte-at` for binary). ## Syntax
[char-at $string $n]
## Examples
[char-at "hello" 0]    # "h"
[char-at "a中c" 1]     # "中"
[char-at "hello" 9]    # nil  (out of range)
## Returns Single-character string at the index, or nil if out of range. ## See Also `nth`, `chars/slice`, `byte-at`, `width`, `index-of`