Pregunta de entrevista de FJA-US

Given a String A and String B determine if String A contains String B as a substring.