DDF-139: Updated to trim whitespace from user input.