Syntax
list insert( list dest, int index, string src1, [, string src2, ...] )
Description
insert constructs a list by inserting strings into a list at the specified position. Note that the first element in the list is index: 0. If the index is greater than the length of the specified list (for example, 999), then the strings append to the end of the list.
Returns the newly constructed list.
Example
trustedusers={"jamie", "cory", "robyn"}; a=insert(trustedusers, 1, "leslie");
sets a to the list:
{"jamie", "leslie", "cory", "robyn"}