Blend interview question

Implement function to find substring in string