| 167 | } |
| 168 | |
| 169 | string tolower(const string& str) |
| 170 | { |
| 171 | string lstr; |
| 172 | lstr.reserve(str.size()); |
| 173 | for (string::const_iterator i=str.begin() ; i!=str.end() ; ++i) |
| 174 | lstr += tolower(*i); |
| 175 | return lstr; |
| 176 | } |
| 177 | int stringicompare(const string& a, const string& b) |
| 178 | { |
| 179 | return stricmp(a.c_str(), b.c_str()); |
no test coverage detected