SAP interview question

check if a string is a palendrome