Returns the length of a string in UTF-16 code units. Note that it is not the same as the number of characters (or graphemes) in the string.
length
A number.
"lava".length
4
"๐".length
2
"๐ฉโ๐ฉโ๐งโ๐ง".length
11