| 22 | using std::map; |
| 23 | |
| 24 | static string Trim (const string & s) |
| 25 | { |
| 26 | size_t a = s.find_first_not_of(" \t\r\n"); |
| 27 | if (a == string::npos) return ""; |
| 28 | size_t b = s.find_last_not_of(" \t\r\n"); |
| 29 | return s.substr(a, b-a+1); |
| 30 | } |
| 31 | |
| 32 | static string Upper (string s) |
| 33 | { |
no outgoing calls
no test coverage detected