Text Handling

- Implemented nontrivial (), which detemines whether a string contains
  any non-space characters.  Used to detect strings with no content.
This commit is contained in:
Paul Beckingham 2011-05-23 20:08:33 -04:00
parent f669b5f56f
commit f0f3e55cc6
3 changed files with 26 additions and 1 deletions

View file

@ -52,6 +52,7 @@ std::string upperCase (const std::string&);
std::string ucFirst (const std::string&);
const char* optionalBlankLine ();
void guess (const std::string&, std::vector<std::string>&, std::string&);
bool nontrivial (const std::string&);
bool digitsOnly (const std::string&);
bool noSpaces (const std::string&);
bool noVerticalSpace (const std::string&);