The
List.insert function inserts a single value (the numeric or string expression
value) or a List of values (
list_name) at the position in the
List referenced by the numeric expression
index. The type of the inserted value or List must match the type of the receiving List. List index values are one-based, so the index must be between 1 and one past the length of the List. If the index is
1, the values are inserted at the beginning of the List. If the value is
List.length() + 1, the values are inserted at the end of the List (as would happen with the
List.add function).