In a palindrome how to display the number of words or sentences entered?

Word

1 answer

Answer

1228325

2026-06-02 07:30

+ Follow

To display the number of Words or sentences in a palindrome, first, you need to check if the input string reads the same forwards and backwards. Then, you can split the string into Words using a space or punctuation as a delimiter. Finally, count the number of Words (or sentences, if counting full sentences) and present that count alongside the palindrome verification.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.