Ford Motor Company Interview Question

find the substring in a string that matches another string