Text.Reverse
A text with its characters in the opposite order.
Group: Text and characters. Power Query M has it too: a query that uses it is written as in Power BI.
Syntax
Text.Reverse(text as nullable text) as nullable text
| Parameter | Type | Description |
|---|---|---|
text | nullable text | The text to turn around; null gives null. |
Returns
nullable text. The characters from last to first.
Examples
A code backwards
Text.Reverse("ABC-123")
"321-CBA"