Get List Item
Get List Item
Section titled “Get List Item”Type: list-get · Package: Collections Activities v1.0.0 · Output: object
Gets the element that is at a specific position in the list. Indices start at 0: the first element is index 0, the second 1, etc.
How it works
Section titled “How it works”Reads the element at position index from the list list and saves it to outputVariable.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
list | expression | The list. |
index | expression | Index (base 0). |
outputVariable | nombre de variable | Variable where to save the element. |
Example
Section titled “Example”Get List Item list = = nombres index = 0 outputVariable = primeroLog message = = "Primer nombre: " + primeroRelated activities
Section titled “Related activities”- List Count — find out how many items there are.
- Add to List — add items.