Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 542 Bytes

list-removerange.md

File metadata and controls

29 lines (19 loc) · 542 Bytes
description title
Learn more about: List.RemoveRange
List.RemoveRange

List.RemoveRange

Syntax

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

About

Removes count values in the list starting at the specified position, index.

Example 1

Remove 3 values in the list {1, 2, 3, 4, -6, -2, -1, 5} starting at index 4.

Usage

List.RemoveRange({1, 2, 3, 4, -6, -2, -1, 5}, 4, 3)

Output

{1, 2, 3, 4, 5}