![]()  | 
  
    PING
    0.9
    
   Statistical data handling and processing in production environment 
   | 
 
Extract elements from a list at given position(s).
list : a list of (e.g., blank separated) items;index : a list of numeric indexes providing with the positions of items to extract from list; must that the values of items in index should be < length of the list and >0;sep : (option) character/string separator in input list list (but not index); default: %quote( ), i.e. sep is blank.res : output list defined as the sequence of elements extract from the input list list so that:
i-th element in res is equal to the j-th element of list where the position j is given by the i-th element of index. returns: res=ccc bb bb dddd a since the index 100 is ignored.
Run macro %_example_list_index for more examples.
list are ignored, while whenever one index is <0, and error is generated.res returned is empty (i.e. res=).%clist_index, %list_slice, %list_compare, %list_count, %list_remove, %list_append, INDEX.