User Tools

Site Tools


syntax:functions:mirror

This is an old revision of the document!


Mirror(text)

Reverse the order of characters in text.

Example Result
mirror('Les Misérables') selbarésiM seL

This function allows using text functions such as keepbefore or keepafter to operate with the last occurrence of a substring in a text. See the example below:

Example Result
mirror(keepafter(mirror('one-two-three'), '-')) one-two
syntax/functions/mirror.1468072279.txt.gz · Last modified: 2016/07/09 09:51 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki