What....? Please don't listen to Martin. There is no reason to make an object for your task is much simpler than that.
Hemla if you are not looking to find a value, but rather do a certain sequence of things to have them get done, ex println's, then you may utilize a void type method. That way you will not have to return a value at all, but just execute the code block written within your method.
As for the length of the string, you are simply accessing their value wrong. But I'm sure you could pull it from the heaping spoon of code Martin gave you...