Mphasis interview question

Check if first string is subset of second string.