According to the manual :
IndexOf, LastIndexOf
Searches the array X axis for a given value and returns the index it is found at, or -1 if not found. IndexOf finds the first matching element, and LastIndexOf finds the last matching element.
I successfully use it.
But I need to find all matching element in a search (more than 2).
How to do that?
I thought of i= array.indexOf(searchstring)+1, compare value until i=array.lastindexOf(searchstring) but I wonder if there's a way to use index and not while loops?
For example, can we re-search index starting at lastresult+1?
I know it might look weird but my array is 1942 long <img src="smileys/smiley36.gif" border="0" align="middle" />
So far I didn't find that entries are limited which is a very good thing.
I wonder what happens to the browser (or smartphone app) if "you go too far" and how much is "too far".
Thanks for your help!