# Reverse String

> Reverse the characters of a string.

- ID: `string_reverse`
- Type: Block
- Category: [Strings](https://inventor.bot/docs/reference/blocks/strings.md)

- Value block: it can be used directly inside expressions, e.g. `"Result: " + string_reverse(Args{...})`.

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `text` | yes | String to reverse. | e.g. `"hello"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `string` | Reversed string. | e.g. `"olleh"` |

**Example**

```go
stringReverse := string_reverse(Args{text: "hello"})
send_text_message(Args{channel_id: trigger.channel_id, message_content: "String: " + stringReverse})
```