How can I get two numbers that are written in a single line - is there a Split() method?
Posted
by Sergio Tapia
on Stack Overflow
See other posts from Stack Overflow
or by Sergio Tapia
Published on 2010-05-11T04:02:52Z
Indexed on
2010/05/11
4:04 UTC
Read the original article
Hit count: 287
I want to ask the user for input in console. He'll be writing down two numbers separated by a single space.
In Java is there something like the C# Split() method I can use?
Thank you!
© Stack Overflow or respective owner