API reference › @evolu/sqlite-wasm › c-api › sqlite3_strnicmp

function sqlite3_strnicmp(
  deps: SqliteWasmDep,
): (zLeft: CStringPtr, zRight: CStringPtr, N: number) => number;

Defined in: packages/sqlite-wasm/src/CApi.ts:1035

Compares at most N bytes of two UTF-8 strings, folding only ASCII case as SQLite does for identifiers, and returns 0 when they are equal or a negative or positive number that orders them.

Wasm type i(iii). Signature ["sqlite3_strnicmp", "int", "string", "string", "int"] from SQLite's table.

See https://sqlite.org/c3ref/stricmp.html.