|
Apologies for my question not being clear.
Your answer helped a lot as I was trying to compare a user input from a request box to a string as you would with a primitive type, forgetting about strings being objects.
The fact that I want each input to go into a set is not the issue, the issue is getting the while loop to terminate when the user enters *.
JavaBean I am much obliged to you, many many thanks.
Last edited by tkdvipers : 07-09-2007 at 11:47 PM.
|