List Actions

Common Programming Operations on Lists

Get List Length

Outputs the number of elements that are in your list.

Get List Index by Value

Searches your list for the given value.

Outputs:
- The index position of the first occurence of the value.
- A list of all the index positions the value is found in the list.

Get List Value by Index

Outputs the value of the element at the given index in your list.

Extend List

Adds each element in the selected variable to the end of your list.

Example: Adding [ B, C ] to [ A ] result in [ A, B, C ]

Append List

Adds the selected variable to the end of your list as a single element.

Example: Adding [ B, C ] to [ A ] results in [ A, [ B, C ] ]

Compare Lists

Outputs a list of all the matching elements in the two lists selected.

Insert Value into List at a Given Index

Inserts the given value at the given index, shifting elements in your list to the right.

Make a Sub List

Outputs a new list containing the elements from the starting index up to the ending index of the selected list.

Example:
List = [ A, B, C, D, F ]
Starting index = 1
Ending index = 4
Sub List = [ B, C, D ]

Get Number of Times a Value Occurs in the List

Outputs the number of times the given value occurs in the selected list.

Remove an Element at a Given Index

Removes the element at the given index in the selected list.
Outputs the element that was removed from the list.

Remove First Occurence of an Element in the List

Removes the first occurence of the given value in the selected list.