Ford Motor Company interview question

find the substring in a string that matches another string