Get Element Position In List Step
Brief description
In this step, you can obtain the position of an element in your list, whether it is a string or an integer.
Step Information
Step Name (Not required)– the custom name of the process step that labels the editor’s process step box
Input Parameters
- List variable to check (Required) - existing list variable to check for the presence of elements.
- Element to check for (Required) - value or variable to check for in the list (data type is a string or an integer, depending on the selected list type)
Output Parameters
Destination list (Required) - new or existing ListOfIntegers variable that stores all the indexes
Element count (Required) - new or existing integer variable that counts the number of indices where specific elements are found
Additional comments
Before you add a list variable, the other field Element to check for will be disabled because it depend on the data type of the list (string or integer). If you want to select a new list, it must be of the same type. If you wish to change the data type, you need to clear the variable first and then select the new data type. Please note that doing so will delete all existing values because you are changing the data type.