Hi, I want to make a program that takes a sentence from the user input, removes all non-letters, reverses it and changes the case of every letter for example: Welcome to C4DM will become mdcOTEMOCLEw.
Any helpful comments apprreciated
Printable View
Hi, I want to make a program that takes a sentence from the user input, removes all non-letters, reverses it and changes the case of every letter for example: Welcome to C4DM will become mdcOTEMOCLEw.
Any helpful comments apprreciated
Look at the String class and the Character class for useful methods.
Here's the link to the API doc:
Java Platform SE 6
Find the class in the lower left window, click on it and the doc will display in the main window.