To summarize, the function will: Initially check if the first characters of each string match. If so, put the start match index there. Otherwise, put it at 1. For each character in the subject ...