The string to search is:
Enter substring to search for
First occurrence located at index
Last occurrence located at index