latest
List
Extract Subset

Extract a subset from a list

ID

662ae5a310b6cb87640c9184

Name

Extract Subset

Group

List

Package

List

Keywords

ExtractSubset
Subset
list
lst

List

Sequence

Set

Tree

Creation method

There are two options for creating Extract Subset node.

  • The first way to create Extract Subset node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • lst , list
  • The second way is to select Extract Subset node from the menu that opens from the top left.
    • Menu > List > List > Extract Subset

Steps

  • Create Extract Subset node.
  • Connect the base list to the first port.
  • Connect the start index for trim list to the second port.
  • Connect the end index for trim list to the third port.

After creating a node, connect the base list to the first port. You need to connect the start index for the trim list to the second port, and the end index for the trim list to the third port. On the output ports, we will get the extracted list and indices of extracted items.

See also

List Item
Reverse List
Take Nth

Inputs

NameTypeDescriptionDefault Value
list
Any
Base list
indexStart
Number
Start index for trim list0
indexEnd
Number
End index for trim list2

Outputs

NameTypeDescription
resultList
Any
Extracted list
index
Number
Indexes of extracted items