Meta interview question

it is a easy find substring string question.