Returns the itemĀ at the specified position in a list, where the first item is in position 0.
Input Fields
- list (list): a list of items
- index (number): the positionĀ of the item you want to select. In a list, the first item is always located at index 0, the second at index 1, the third at index 2, and so on.
Output Fields
- item: the item from the specified position of the list. Item needs to be the same type as list (i.e. if you have a list of numbers, then item should be set to be a number.)
Examples:
- If list is
["one","two","three","four"]
and index is0
, then item is"one"
- If list is
[1,2,3,4,5]
and index is2
, then item is3