3 ms·
String length isn't even a well defined term. Do you mean codepoint length? Or the number of graphemes?
by rockwotj 4y ago
String length isn't even a well defined term. Do you mean codepoint length? Or the number of graphemes?
- ryandrake 4y agoGood point. When it comes to text there are a lot of "lengths". Languages should differentiate between each of those lengths, and programmers should pay attention to the difference and actually use the right one for the whatever situation they're programming.