lastIndexOf() returns the index of the last occurrence of a specified value in a string.
Find the last occurence of "planet":