Skip to main content

Text.reverse

reverse

Group: Text

Documentation

Returns a new Text object with the characters in the reverse order of the input.

Examples

Reverse the text "Hello, world!".

      "Hello, world!".reverse

Remarks

What is a Character?

A character is defined as an Extended Grapheme Cluster, see Unicode Standard Annex 29. This is the smallest unit that still has semantic meaning in most text-processing applications.