Frage im Vorstellungsgespräch bei Microsoft

Some string manipulation problem like finding a substring.