Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
List.RemoveItems(list1 as list, list2 as list) as list
About
Removes all occurrences of the given values in the list2
from list1
. If the values in list2
don't exist in list1
, the original list is returned.
Example 1
Remove the items in the list {2, 4, 6} from the list {1, 2, 3, 4, 2, 5, 5}.
Usage
List.RemoveItems({1, 2, 3, 4, 2, 5, 5}, {2, 4, 6})
Output
{1, 3, 5, 5}