# ToUpper (String str)

| Name                     | *ToUpper*                                              |
| ------------------------ | ------------------------------------------------------ |
| Applicable To (DataType) | String                                                 |
| Purpose                  | To convert the string into uppercase characters.       |
| Description              | Converts a string into uppercase characters.           |
| Return Type              | String                                                 |
| Syntax                   | str \[System.String] – string which will be converted. |

![properties](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FsZD6xtlcdUE2kubtIIeq%2Fproperties.png?alt=media)

## Example

In this example, we have customers data stored in an *Excel* sheet. We want to convert *CustomerContactName* into uppercase. So, we will map the *CustomerContactName* data field to *str* data field under the *Input* node inside the function transformation object.

![dataflow](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FtlPbvKj9Z28sgrlmNJVD%2Fdataflow.png?alt=media)

Right-click on the function transformation object and select *Preview Output*. You can see that the value inside the data field has been converted into uppercase.

![output](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FkLT4QLDlUMsbE0x3bXSM%2Foutput.png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/astera-data-stack-v10/functions/string/toupper-string-str.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
