Apple Interview Question

Detect a string within another larger string