latest
List
Item Index

Retrieve the index of a certain item in a list

ID

662ae5a310b6cb87640c9182

Name

Item Index

Group

List

Package

List

Keywords

list
i
search
find

List

Sequence

Set

Tree

Creation method

There are two options for creating an Item Index node.

  • The first way to create an Item Index 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.
    • list , i , search , find
  • The second way is to select an Item Index node from the menu that opens from the top left.
    • Menu > List > List > Item Index

Steps

  • Create an Item Index node.
  • Connect the list to search to the first port.
  • Connect the item to search for to the second port.

After creating a node, connect the list to search to the first port. You need to connect the item to search for to the second port. On the output ports, we will get the index of item, and number of equal items.

See also

List Item
Remove Subset
Reverse List
List Length

Inputs

NameTypeDescriptionDefault Value
list
Any
List to search
item
Any
Item to search for

Outputs

NameTypeDescription
indexes
Number
Index of item
count
Number
Count of equal items