Enhancement - Caseless string compare, find

- Merged compare and find functions in from metatask.
- Merged unit tests in from metatask.
This commit is contained in:
Paul Beckingham 2010-01-27 09:12:06 -05:00
parent 56edf73d93
commit 3e5ea8cb6c
3 changed files with 111 additions and 2 deletions

View file

@ -54,6 +54,8 @@ bool noSpaces (const std::string&);
bool noVerticalSpace (const std::string&);
bool isWordStart (const std::string&, std::string::size_type);
bool isWordEnd (const std::string&, std::string::size_type);
bool compare (const std::string&, const std::string&, bool caseless = false);
std::string::size_type find (const std::string&, const std::string&, bool caseless = false);
#endif
////////////////////////////////////////////////////////////////////////////////