Reverse a string: Difference between revisions

Content added Content deleted
Line 2,373: Line 2,373:


=={{header|langur}}==
=={{header|langur}}==
This accounts for code points, but not for graphemes.
The reverse() function will reverse a string according to graphemes.
<syntaxhighlight lang="langur">writeln cp2s reverse s2cp q(don't you know)</syntaxhighlight>
<syntaxhighlight lang="langur">writeln reverse "don't you know"</syntaxhighlight>


{{out}}
{{out}}