Struggling with the syntax of this. Sorry. I just need to return the position of an item in a list. Specifically, a list in a table.
So, for example
Table of thingsinlists
OThing(a list of text)
{"apple", "banana","cherry","pear"}
So in this case, I can say
Choose row 1 of Table of thingsinlists;
Let L be entry 3 of OThing entry;
.
But what I want is for L to be the ‘position’ of “cherry” in the list - in this case 3.
Apologies if this has been answered before - I’ve had a search and can’t see anything. I’ve also searched through docs and can’t see anything.
Before I start writing a routine to count through the list until it matches “cherry”, is there something like :
Let L be entry position of "cherry" in Othing entry.