Checks user input length after removing whitespace. Refs #2.