String Comparison

Small. Fast. Reliable.
Choose any three.

## SQLite C Interface

## String Comparison

>     int sqlite3_stricmp(const char *, const char *);
>     int sqlite3_strnicmp(const char *, const char *, int);

The sqlite3_stricmp() and sqlite3_strnicmp() APIs allow applications and extensions to compare the contents of two buffers containing UTF-8 strings in a case-independent fashion, using the same definition of "case independence" that SQLite uses internally when comparing identifiers.

See also lists of Objects, Constants, and Functions.