List

List

Take Nth

  • List

  • Sequence

  • Set

  • Tree

Take Nth

Take every Nth element in a list

Details

ID

list-list-take-nth

Name

Take Nth

Group

List

Package

List

Keywords

list
index
tk

Input ports

NameTypeDescriptionDefault Value
List
Any
List for trim
N
Number
Frequency of taken items3
Start
Number
Take from which0

Output ports

NameTypeDescription
List
Any
Resulting list

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