Chars
type
returns
Getter
array<string>

Explanation

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

Examples

1
"Hello" == ["H", "e", "l", "l", "o"]
2
"🐐 > πŸ‘" == ["🐐", " ", ">", " ", "πŸ‘"]
Copied!
Last modified 1yr ago
Copy link