# String to Uppercase

> Convert a string to uppercase.

- ID: `string_to_uppercase`
- 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_to_uppercase(Args{...})`.

**Inputs**

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

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `string` | Uppercased string. | e.g. `"HELLO"` |

**Example**

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