Pergunta de entrevista da empresa Accenture

Find if a substring is present inside a given string.