You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation of String.length should mention that it returns length as number of UTF-16 code units.
Or alternatively perhaps the note at String type which says "Strings are not lists of characters." should be expanded to say "Strings are not lists of characters, but lists of UTF-16 code points." or something like that.
The text was updated successfully, but these errors were encountered:
Documentation of
String.length
should mention that it returns length as number of UTF-16 code units.Or alternatively perhaps the note at
String
type which says "Strings are not lists of characters." should be expanded to say "Strings are not lists of characters, but lists of UTF-16 code points." or something like that.The text was updated successfully, but these errors were encountered: