loading...

Discussion on: Code Golf Challenge: Palindrome Detector

Collapse
aspenjames profile image
Aspen James

Does this need to work on palindromes containing capitalization, spaces, punctuation, etc?

For example: "A man, a plan, a canal: Panama." - some would consider this a palindrome, some would

Collapse
daveturissini profile image
David Author

Good question. Lets keep it simple: only checking for words. No handling for spaces, punctuation or numbers.