ive never done anything like this before, so maybe someone can help me out with some logic instead of code. ok, so if a user inputs(in my program) lets say a specific command with parameters. for example: fruit(apple,orange,berry); how can i check that there are parameters specified. so if a user enters fruit(); with no parameters, return an error. and if parameters are present, split them up. can someone help me out?