Remove the subset from the list
ID
list-list-remove-subset
Name
Remove Subset
Group
List
Package
List
Keywords
After creating a node, connect the base list to the first port. You need to connect the start index for subtraction to the second port, and the end index for subtraction list to the third port. On the output ports, we will get the result ist without the removed subset and the indices of removed items.
List Item
Trim List
Reverse List
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
list | Any | Base list | |
indexStart | Number | Start index for subtraction | 0 |
indexEnd | Number | End index for subtraction list | 2 |
Outputs
Name | Type | Description |
---|---|---|
resultList | Any | List without the removed subset |
index | Number | Indexes of removed items |