Darth Predator
Jan 30th, 2008, 02:49 PM
Hi all,
I just started learning Java and I have a question about user input strings. It seems that when you type in a string of multiple words, it only picks up the first word as the entire string and ends it when it reaches the first space. How do you type in a string with multiple words and have it pick up the entire sentence as one string?
Thanks
I just started learning Java and I have a question about user input strings. It seems that when you type in a string of multiple words, it only picks up the first word as the entire string and ends it when it reaches the first space. How do you type in a string with multiple words and have it pick up the entire sentence as one string?
Thanks