asd
2012-03-31 00:21:42 UTC
For example, "method ( a , b )" should be the same as "method(a,b)" and it should be a valid input. Initially, I thought of removing all the white spaces in the input and validate from there on. However, if the user were to enter an invalid input such as "method ( a b , c )", it would have treated it as valid since it would become "method(ab,c)". So is there a better way to validate against such inputs or should I try to anticipate all the various types of cases that user can enter?