- This tutorial is useful.
- Reference documentation for
chars is here. - You can retrieve
chars from a string using the charAt method. - You should use a
StringBuilderto build the output string. - See this method for detecting spaces. Remember it is a static method.
charliterals are enclosed in single quotes.
- See this method to check if a character is a control character.
- See this method to convert a character to upper case.
chars support the default equality and comparison operators.