A basic example to get the starting index of a single word.