Unicode strings: Difference between revisions

→‎{{header|Wren}}: Added missing 'import' statement.
(→‎{{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 =import "voilà./upc" for Graphemes
 
var w = "voilà"
for (c in w) {
System.write("%(c) ") // prints the 5 Unicode 'characters'.
9,482

edits