Case insensitive comparison of strings.
| 83 | |
| 84 | // Case insensitive comparison of strings. |
| 85 | inline bool Compare(const std::string & left, const std::string & right) |
| 86 | { |
| 87 | return Lower(left) == Lower(right); |
| 88 | } |
| 89 | |
| 90 | // Return true if the string ends with the suffix. |
| 91 | // Note: The comparison is case sensitive. |