Is there a way to find the index of an item in a list, given that you are not using any data sources or API to import data, just a regular list?
Is there a way to find the index of an item in a list, given that you are not using any data sources or API to import data, just a regular list?
Yes, use the First occurrence of block:
Thanks @tatiang. Just making sure.
Say I have a list
Apple
Orange
Mango
Banana
I want to find the index of mango, will the ‘first occurrence of’ block return 3?
Yep