GET function
GET function
 | Function Name | Description | Usage | Input parameter | Return value | 
|---|---|---|---|---|
| GET | Returns the value in an array at a specified index. In an array, the first value is available at index 0 and the last value is available at index n-1 where n is the size of the array. | GET(value) | Index value of type Integer. | Value at a given index of an array. The return type depends on the data type of the array. For example, for an integer array, this function returns an integer value. | 
Supported data type
 The GET function supports the following data types: 
- Boolean array
- Double array
- Integer array
- String array
Example 1: Get the value at an index of an integer array
 Sample data: $var1$ = {11,6,7,2,15,8} 
 Usage: $var1$.GET(3) 
 Output: 2 
Example 2: Get the value at an index of a string array
 Sample data: $var1$ = {"Hello", "Test", "Apigee", "Integrations", "API Trigger", "Cloud"} 
 Usage: $var1$.GET(5) 
 Output: Cloud 
Recommendation
- Learn how to add and configure a Data Mapping task