List.RemoveItems

Syntax

List.RemoveItems(list1 as list, list2 as list) as list

About

从中删除给定值list2list1的所有匹配项。 如果不存在中的list2list1值,则返回原始列表。

示例 1

从列表 {1、2、3、4、4、2、5、 5} 中删除列表 {2、 4、 5} 中的项。

用法

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

输出

{1, 3, 5, 5}