When printing I want it to put out:
C Windows system
But the delimiter makes it so system does not show. What do I do?
Scanner userInput = new Scanner (System.in);
userInput.useDelimiter("[/\n:/ /]");
System.out.print("Vilken sökväg?");
disk = userInput.next();
os = userInput.next();
where = userInput.next();
System.out.println( disk );
System.out.println( os );
System.out.println( where );
userInput.close();
}
}