CARB_STRNCASECMP#

Defined in carb/extras/StringSafe.h

CARB_STRNCASECMP(x, y, z)#

Macro wrapper for carb::extras::strncasecmp().

Performs a case-insensitive comparison of up to n characters from two strings. This macro provides a convenient way to call the safe strncasecmp function.

Parameters:
  • x – The first string to compare.

  • y – The second string to compare.

  • z – The maximum number of characters to compare.

Returns:

0 if the strings match (ignoring case), negative if x < y, positive if x > y.