# 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)
