carb::extras::compareStringsNoCase
Defined in carb/extras/StringSafe.h
-
inline int32_t carb::extras::compareStringsNoCase(const char *str1, const char *str2)
Compare two strings in a case insensitive manner.
- Parameters
str1 – [in] The first string to compare. This may not be
nullptr
.str2 – [in] The second string to compare. This may not be
nullptr
.
- Returns
0
if the two strings match.- Returns
A negative value if
str1
should be ordered beforestr2
.- Returns
A positive value if
str1
should be ordered afterstr2
.