You will have to use some methods. Which ones are you allowed to use?
There is no way to get at the contents of a String without using a method.