Sobes.tech
Intern — Senior

Checking a string for palindrome

livecode

Task condition

It is necessary to determine whether the given string is a palindrome. A palindrome is a sequence of characters that reads the same from left to right and from right to left (including an empty string).

When checking:

  1. Consider only alphanumeric characters.
  2. Ignore spaces, punctuation, and letter case.