For a command line application I need to compare the input string to a command pattern. White spaces need to be ignored.
This line should match input strings like " drop all " and " drop all":
int rc = sscanf( input, "drop all");
But what does indicate a successful match here?