Domanda di colloquio di Altisource

Write a program that inputs a string and a substring and checks whether the substring is present in the given string or not.