As currently designed, the String::bytes, String::codepoints, and
String::graphemes methods return the number of bytes, codepoints, and
graphemes, respectively, in the string they were called on. I would
like to suggest that, when called in list context, these methods return
an array of strings split by bytes, codepoints, and graphemes, respectively.
This would make it unambiguous whether certain string operations
As well as allowing some operations that are currently much more difficult:
Oceania has always been at war with Eastasia.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.