A palindrome (or palindromic string) is the same forward and backward. For example, the strings "racecar", "madam", and "reappear" are palindromic, whereas "madame", "dared", and "batt ab" aren't.
Write a function that returns true if the given (string) argument is palindromic, false otherwise.
A palindrome (or palindromic string) is the same forward and backward. For example, the strings
"racecar"
,"madam"
, and"reappear"
are palindromic, whereas"madame"
,"dared"
, and"batt ab"
aren't.Write a function that returns
true
if the given (string) argument is palindromic,false
otherwise.