String Globbing

Small. Fast. Reliable.
Choose any three.

## SQLite C Interface

## String Globbing

>     int sqlite3_strglob(const char *zGlob, const char *zStr);

The sqlite3_strglob(P,X) interface returns zero if and only if string X matches the GLOB pattern P. The definition of GLOB pattern matching used in sqlite3_strglob(P,X) is the same as for the "X GLOB P" operator in the SQL dialect understood by SQLite. The sqlite3_strglob(P,X) function is case sensitive.

Note that this routine returns zero on a match and non-zero if the strings do not match, the same as sqlite3_stricmp() and sqlite3_strnicmp().

See also: sqlite3_strlike().

See also lists of Objects, Constants, and Functions.