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)
Return the value in var1 at index 3.
Output: 2
Example 2: Get the value at an index of a string array
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["The `GET` function retrieves a value from an array at a specified index, with the first element at index 0."],["The `GET` function accepts an integer index as input to specify the location within the array."],["The return type of the `GET` function corresponds to the data type of the array, such as integer, string, boolean, or double."],["The `GET` function supports boolean, double, integer, and string array data types."],["Example usage for the function is provided, which can be an Integer or String array, providing its input and return."]]],[]]