SAP Interview Question

How to find if the substring exists in the given string?