Help with a word, if it is divided by spaces
Hi, I am having a problem with this java program i am making. So far it is suppose to just get a command and break it down into a list where each part is a word so it is divided by spaces. But i am having problems so far this is what i have.
All i have to figure out is how to break uR up and into test. Any help?
public class Command
private static BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
private static String uR,con,sub1;
private static String test;
private static int a,b;
public static void main(String args)
File data = new File("C:/");
uR = in.readLine();