It's OK. Generally, people here at the JavaRanch like to help each other.
Asking Questions on the Java Ranch Suggestions:
1. If you use the CODE tags (see the CODE button below), your code will be more readable and you'll get better help.
2. String is the name of a class so it should be capitalized when you want a class. Variables and method names start with a lower-case letter by conention.
3. The getString() method should be decalared within the class -- but not within another method.
4. To call getString() from main, getString() should be static since you're calling it from main which is static.
I have given you some hints. Try to solve the problem and if you need more help, come back and add another question to this thread. This way, you'll learn better than if I just gave you the solution in code.
Kaydell
[ June 07, 2007: Message edited by: Kaydell Leavitt ]