for example,if I print the command : "set hello world",When the number of spaces between 'hello' and 'world' exceeds one, an error occurs。This is because spaces occupy the length of a parameter, and the number of parameters in the code is limited to two. In order to solve this problem, you should remove spaces from the input parameters before judging
for example,if I print the command : "set hello world",When the number of spaces between 'hello' and 'world' exceeds one, an error occurs。This is because spaces occupy the length of a parameter, and the number of parameters in the code is limited to two. In order to solve this problem, you should remove spaces from the input parameters before judging