latest
List
Take Nth

Take every Nth element in a list

ID

662ae5a310b6cb87640c9189

Name

Take Nth

Group

List

Package

List

Keywords

list
index
tk

List

Sequence

Set

Tree

Creation method

There are two options for creating a Take Nth node.

  • The first way to create a Take Nth 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.
    • item , index , rm , rl
  • The second way is to select a Take Nth node from the menu that opens from the top left.
    • Menu > List > List > Take Nth

Steps

  • Create a Take Nth node.
  • Connect the list for trim to the first port.
  • Connect the frequency of taken items to the second port.
  • Connect the item index from which you want to take to the third port.

After creating a node, connect the list for trim to the first port. You need to connect the frequency of taken items to the second port, and the item index from which you want to take to the third port. On the output port, we will get the resulting list.

See also

List Item
Trim List
Reverse List
Sub List

Inputs

NameTypeDescriptionDefault Value
list
Any
List for trim
nth
Number
Frequency of taken items3
start
Number
Take from which0

Outputs

NameTypeDescription
resultList
Any
Resulting list