[] (access)
Description
To access a specified element of a list by position use A_LIST[Index]
. Index
is the position of the element you want to access starting at 0, so the first element has index 0, the second index 1 and so on.
Examples
This creates a simple list of three elements and returns the first one.
This returns the first nationality a person has.
Last updated
Was this helpful?