This function mirrors the at function from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.
at
Finds the grapheme cluster at the given index.
String to index
Position of the grapheme cluster to return. Negative values count back from the end
The grapheme cluster at the given index, or undefined if the index is out of bounds
undefined
This function mirrors the
atfunction from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.Finds the grapheme cluster at the given index.