# Reverse

| **Name**    | ***Reverse***                                                              |
| ----------- | -------------------------------------------------------------------------- |
| Syntax      | Reverse (String str)                                                       |
| Purpose     | To return the flipped form of a specified string.                          |
| Description | Reverses all characters in a string so that the original text is mirrored. |
| Return Type | String                                                                     |
| Parameters  | Str \[System.String] – String to reverse                                   |

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/vMuXLMsHyXb7pjWeuQaf/0.png)

**Example**

In this example, we are passing the required parameters to the function transformation object using a *Variables* object.

Where,

*str =* Hello World

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/EwukWynqdduQikUrDcLS/1.png)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has returned the mirrored string in the output.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/nkg4znLf9fiEyXdDbYWl/2.png)
