语法
List.RemoveRange(
list as list,
index as number,
optional count as nullable number
) as list
简介
删除count中从指定位置list开始的index值。
示例 1
从索引 4 开始,删除列表 {1、2、3、4、-6、-2、-1、5} 中的 3 个值。
使用情况
List.RemoveRange({1, 2, 3, 4, -6, -2, -1, 5}, 4, 3)
输出
{1, 2, 3, 4, 5}