RecursionFun3
RecursionFun3
//Date - 12/5/24
//Class - 4th
//Lab - Recursion Lab #3
if(!Character.isLetter(word.charAt(word.length()-1)))//skips non
letters at the end of the string
{
return isPalindrome(word.substring(0, word.length()-1));//recalls
recursion
}