Question d’entretien chez Finastra

How to detect a palindrome string?