I have an edf file called 'eventData' with one column of strings (similar to the example shown below). I would like to pull out the indices that idenfity the first instance of the word 'Help' that occurs before the word 'Shoe' appears, and then for all of those identified indices to be saved into a one column double. The problem is that sometimes the word 'Help' occurs in other instances. So in the example below, I would like to pull out the indices for 1 and 11, but not 7. Thank you so much!