FJA-US Interview Question

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