Hopefully a quickie (and I did search the documentation beforehand). I'm looking for a command that will take an array (preferred) or list and an object return the index of the object if it exists in the array or list. I know I can use e.g. the member function and do a subtraction between the lengths of the original and member lists, but I was hoping there was a native command that just did what I was after. Ideally the command would look like:
myList = list(1 2 "ab" "ef" 1.234)
some_function("ef" myList) would return 3 (i.e. nth(3 myList) yields "ef")