I have a string that is exactly three numbers, for example; 999. I want to replace the last two 9's with the words ninety-nine. I have looked searched around a lot, but for some reason I can't get anything to work. I also want to know how I would replace the first 9 with the words "nine hundred", but I don't want to have them done at the same time. It would be helpful if you could explain how it works, too, because I am relatively new to programming.
Thanks