The java main method needs the (String[] args) parameter, so all your params or arguments are a String.
If you want to check when a param is a sequence of “Some Param” you have to create a Boolean variable, and iterate the list of params. Also you need an auxiliar Strig variable to concatenarĂ© the arguments. So if during the iteration the param contains “, you mark the Boolean variable as true, and you iterate until you find the next param with a “.
Also you can simple underscore the word, so when you read the params you only have to do this, param.replace(“_”, ” “);