docs: clarify UTF-8 byte indexing in string subscript and add wrenStringCodePointAt helper

This commit is contained in:
Bob Nystrom
2015-01-23 00:38:03 +00:00
parent 735268f620
commit 7e52e36a1c
8 changed files with 115 additions and 26 deletions
+3
View File
@@ -1,2 +1,5 @@
IO.print("".count) // expect: 0
IO.print("a string") // expect: a string
// Non-ASCII.
IO.print("A~¶Þॐஃ") // expect: A~¶Þॐஃ