How can I get two numbers that are written in a single line - is there a Split() method?
- by Sergio Tapia
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!