RAD Studio
ContentsIndex
PreviousUpNext
_mbsnbicmp

Header File 

mbstring.h 

Category 

Memory and String Manipulation Routines 

Prototype 

int _mbsnbicmp(const unsigned char *s1, const unsigned char s2, size_t maxlen); 

Description 

_mbsnbicmp ignores case while making a comparison of s1 and s2 for no more than maxlen bytes. It starts with the first byte in each string and continues with subsequent bytes until the corresponding bytes differ or until it has examined maxlen bytes. 

_mbsnbicmp is not case sensitive. 

_mbsnbicmp is not affected by locale. 

_mbsnbicmp compares bytes based on the current multibyte code page. 

Return Value

  • _mbsnbicmp returns an integer value based on the result of comparing s1 (or part of it) to s2 (or part of it):
  • < 0 if s1 is less than s2
  • == 0 if s1 is the same as s2
  • > 0 if s1 is greater than s2

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!