SAP interview question

Search for a particular string in given text