Table of contents
TOC
Collapse the table of content
Expand the table of content

List.RemoveRange

Owen Duncan|Last Updated: 4/19/2018

About

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

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

Arguments

ArgumentDescription
listThe List to remove items from.
offsetThe index to start at.
optional countThe 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"}  
© 2018 Microsoft