Lookup index of item in list array

Say you have a list containing:

[1] orange
[2] blue
[3] green

Is there a method of getting the array number (2) by looking up “blue”?

I want the position of the object in the list.

Thanks

There is no direct way to do this… but it can be done in the following way:

2 Likes

Thank you @adamhholmes