Did you mean:

2", 2', 2"/2' ?

You could do this:

String parseMe = input.nextLine();

String[] inputs = parseMe.split(" ");