# IsUpper

| **Name**    | ***IsUpper***                                                                                                                                                                                              |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax      | IsUpper (String str)                                                                                                                                                                                       |
| Purpose     | To check whether the specified character within a string, in the specified index position, is uppercase alphabetic.                                                                                        |
| Description | Checks whether specified character is uppercase alphabetic.                                                                                                                                                |
| Return Type | Boolean                                                                                                                                                                                                    |
| Parameters  | <p>str \[System.String] – String containing the character to test</p><p>index \[System.Int32] – Numerical position of the character in the string to test. If not specified, index is presumed to be 0</p> |

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

**Example**

In this example, we are passing the required parameters to the function transformation object using a *Variables* object.

Where,

*str* = AbCdEfG

*index* = 0

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

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has returned “True”, as the character in the specified numerical position is an uppercase alphabet.

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

Conversely, if we replace the *index* value with “1”, the output value will return the Boolean value, “False”, as shown below:

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