I fixed it! It was so simple
String[] command = cmd.split(" ");
Then just
switch(command[0])
Type: Posts; User: frozen java
I fixed it! It was so simple
String[] command = cmd.split(" ");
Then just
switch(command[0])
Hello I'll get straight to the point, I am working on an application where I get input from the user (cmd) and send it off to a switch statement (switch(cmd)). I don't know how to explain the rest so...