3 ms·
What's a character? A codepoint, or a grapheme? As the correct answer is "that depends", neither answer gets to qualify as "length", especially given that trad
by peteretep 13y ago
What's a character? A codepoint, or a grapheme?
As the correct answer is "that depends", neither answer gets to qualify as "length", especially given that traditionally, a string is a sequence of bytes, which gives a third thing that 'length' could mean.