Returns the size of the string accounting for surrogate characters.
"".len == 0 "🐐".len == 1 "1\n2".len == 3 "Hello".len == 5 "1 2 3".len == 5
Last updated 3 years ago
type
returns
Getter
number