Hi, I can't find a function that will return the position of a string within an array. For example, if the array is:
[aardvark, abacus, abandon, abate, abattoir...]
I want to search it for 'abate' and return position 3. What I want to do is search an alphabetically-sorted list and see which words are next in the list to the search word.
I can't believe there isn't an obvious way of doing this, though maybe my brain just isn't working today. Thanks for your help.
Dom
[aardvark, abacus, abandon, abate, abattoir...]
I want to search it for 'abate' and return position 3. What I want to do is search an alphabetically-sorted list and see which words are next in the list to the search word.
I can't believe there isn't an obvious way of doing this, though maybe my brain just isn't working today. Thanks for your help.
Dom