signal[0] = "red"
signal[1] = "red"
signal[2] = "red"
signal[3] = "blue"
signal[4] = "red"
signal[5] = "green"
....
Is there a method I can use to search the "most recent" blue for example and get the index (3) ? I could not find a method allowing for this.
I'd rather to have to loop though the whole series every time. Is it possible?
Thank you kindly

Comment