List.RemoveRangeList.RemoveRange
構文Syntax
List.RemoveRange(list as list, index as number, optional count as nullable number) as list
バージョン情報About
list
内の count
値を、指定された位置 index
を始まりとして削除します。Removes count
values in the list
starting at the specified position, index
.
例 1Example 1
リスト {1, 2, 3, 4, -6, -2, -1, 5} の 3 つの値を、インデックス 4 を始まりとして削除します。Remove 3 values in the list {1, 2, 3, 4, -6, -2, -1, 5} starting at index 4.
List.RemoveRange({1, 2, 3, 4, -6, -2, -1, 5}, 4, 3)
11 |
22 |
33 |
44 |
55 |