- 23 May 2023
-
DarkLight
-
PDF
toUpperCase (string)
- Updated on 23 May 2023
-
DarkLight
-
PDF
toUpperCase Task Purpose
The toUpperCase task converts all the characters of an input string to uppercase. This task does not affect any characters that are already in uppercase.
Potential Use Case
This task returns a new string in which all the lowercase characters are converted. You could potentially use this method if a southbound database required a specific field to have all uppercase characters.
Properties
Incoming | Type | Description |
---|---|---|
str |
String (required) | The string that contains the lowercase characters to convert. |
Outgoing | Type | Description |
---|---|---|
uppercaseString |
String | A new string that represents str converted to uppercase characters. |
Example
In this IAP example:
-
The incoming variable for
str
is provided by the output of theNewVariable:myVariable
reference task, which is located in another workflow. -
The reference variable provided by the reference task is
value
, which would be a string containing lowercase characters (e.g.,itential,llc
). -
With this example, the string
value
is converted to uppercase characters and theuppercaseString
output should read asItential,LLC
.