[Solved] How to find an item index in a 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:

2 Likes

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?

2 Likes

Yep

1 Like

@jared and @tatiang, thanks a lot for the response, worked well.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.