Unicode strings: Difference between revisions
→{{header|Wren}}: Added missing 'import' statement.
Fredisland (talk | contribs) |
(→{{header|Wren}}: Added missing 'import' statement.) |
||
Line 1,681:
The standard library does not support normalization but the above module does allow one to split a string into ''user perceived characters'' (or ''graphemes'').
<syntaxhighlight lang="ecmascript">
var w = "voilà"
for (c in w) {
System.write("%(c) ") // prints the 5 Unicode 'characters'.
|