\brief Returns true if \p string is lexicographically equal to \p other. Treats all ascii characters as lower-case during comparisons. O(n)
| 69 | /// Treats all ascii characters as lower-case during comparisons. |
| 70 | /// O(n) |
| 71 | inline bool string_equal_nocase(const char* string, const char* other) |
| 72 | { |
| 73 | return string::icmp(string, other) == 0; |
| 74 | } |
| 75 | |
| 76 | /// \brief Returns true if \p string is lexicographically less than \p other. |
| 77 | /// Treats all ascii characters as lower-case during comparisons. |