Domanda di colloquio di SAP

Solve a coding problem. It was on strings again