Pocket Gems Interview Question

find if a string is the substring of another string