Check if a string is a palindrome

Given a string write a function that checks if the string is a palindrome.
The function should return a boolean (true or false).
Display a message indicating the result of the function.

Note: A palindrome is a word, phrase, or other sequence of characters which reads the same backward as forward, such as madam or racecar. You must account for letters and specials characters for checking

Examples of palindromes

  • radar
  • taco cat
  • Eva, can I see bees in a cave? ("," and "?" and spaces are NOT considered)

Result Goes Here


My Solution