A simple lookup to find the index of the second occurrence of the word &#039;is&#039;.