User Tools

Site Tools


syntax:functions:mirror

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.txt · Last modified: 2016/07/09 13:51 by dmitry