Read the API doc for the String class and its methods. It will help you write the code to use the method.
If you have questions about the contents of the API doc, copy the doc here and ask the...