reverse (Function)
Returns the input string in the reverse order character-wise and string-wise.
Syntax
<STRING> str:reverse(<STRING> input.string)
Query Parameters
| Name | Description | Default Value | Possible Data Types | Optional | Dynamic |
|---|---|---|---|---|---|
| input.string | The input string to be reversed. | STRING | No | Yes |
Example 1
reverse("Hello World")
This outputs a string value by reversing the incoming input.string. In
this scenario, the output is "dlroW olleH".