Microsoft interview question

Some string manipulation problem like finding a substring.