List.RemoveRange

About

Returns a list that removes count items starting at offset. The default count is 1.

Syntax

List.RemoveRange(list as list, offset as number, optional count as nullable number) as list  

Arguments

Argument Description
list The List to remove items from.
offset The index to start at.
optional count The number of items to remove.

Examples

List.RemoveRange({"A", "B", "C", "D"}, 2) equals {"A", "B", "D"}  
List.RemoveRange({"A", "B", "C", "D"}, 1, 2) equals {"A", "D"}