Given a sentence spelling out a word, return true if the spelled letters match the word at the end of the string, or false otherwise.
validateSpelling("C. Y. T. O. P. L. A. S. M. Cytoplasm?") ➞ true
validateSpelling("P. H. A. R. A. O. H. Pharaoh!") ➞ true
validateSpelling("H. A. N. K. E. R. C. H. E. I. F. Handkerchief.") ➞ false