Search a list and return the item number

Hi there,

I am trying to search a list of items that has been returned by an API. And I am looking for a value in that list. I want to then return that lists number when I find the value.

For example say I have a list of items.

  1. Apple
  2. Orange
  3. Pear

I want to search for orange in that list of items and find out its position within the list. So I search for orange and I find that its at position 2. I want to extract its position in the list when I have found it and if I cant find it I want to return a 0.

Is that possible with bubble please?

Thanks

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.