SAP interview question

Print a string backwards