Added utility method for checking length of a string and checking
  that it has no carriage return (for BriefHelp, OneLineHelp).