# 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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20\(79\).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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20\(80\).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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20\(80\).png)
