* Compares two string( view)s for equality, while ignoring the case of the characters. * @param str1 The first string. * @param str2 The second string. * @return True iff both strings are equal, barring the case of the characters. */
| 321 | * @return True iff both strings are equal, barring the case of the characters. |
| 322 | */ |
| 323 | bool StrEqualsIgnoreCase(std::string_view str1, std::string_view str2) |
| 324 | { |
| 325 | if (str1.size() != str2.size()) return false; |
| 326 | return StrCompareIgnoreCase(str1, str2) == 0; |
| 327 | } |
| 328 | |
| 329 | /** |
| 330 | * Checks if a string is contained in another string, while ignoring the case of the characters. |
no test coverage detected