Originally Posted by NormR
Do you understand that THINNING is the uppercase of thinning?

Print out the value of the variable: original before and after this statement is executed:
Code:
original = original.toUpperCase();

Try using the toLowerCase() method and see what happens.


Where are there any uppercase characters in 's in the replace() method calls?
Ok, I don't understand why but it works now. You were right it was the original.toUpperCase(), taking that and moving it to after step 1 is executed made it work for some reason. Thank you for the help! Sorry for not understanding what you were saying at first.