Substring/Top and tail: Difference between revisions

Content added Content deleted
(→‎RPL: HP-48+ version)
m (→‎{{header|Wren}}: Minor tidy)
Line 2,538: Line 2,538:
{{libheader|Wren-str}}
{{libheader|Wren-str}}
As Wren's string slicing and other built-in methods generally work at the byte level, we use the above module for this task which works at the code-point level.
As Wren's string slicing and other built-in methods generally work at the byte level, we use the above module for this task which works at the code-point level.
<syntaxhighlight lang="ecmascript">import "/str" for Str
<syntaxhighlight lang="wren">import "./str" for Str


var a = "Beyoncé"
var a = "Beyoncé"