BCL Technologies interview question

Given two strings find out if stringB is the substring of stringA