compareStrings#

Fully qualified name: carb::extras::compareStrings

Defined in carb/extras/StringSafe.h

inline int32_t carb::extras::compareStrings(
const char *str1,
const char *str2,
)#

Compare two strings in a case sensitive 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 before str2.

Returns:

A positive value if str1 should be ordered after str2.