NAME
ListRemoveAt — From a list, remove element(s) starting at a given index.
SYNOPSIS
ListRemoveAt
ListVariable
Index
?Count?
DESCRIPTION
Return Value
Version of the list with element at target index removed.
Arguments
ListVariable
List to find and remove elements from.
Index
Where element to be removed is.
Count
Optional. How many elements to remove. Defaults to 1.
For information regarding exceptions / errors, see
here
.
EXAMPLES
% set MyList [list a b c]
a b c
%
ListRemove $MyList 2
a b
% ListRemove {1 2 3} 0 2
3
SEE ALSO
FindAndRemove
,
lreplace
KEYWORDS
list