Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'String' … More...
Functions | |
static MK_I32 | Sq3StrGlob (MK_STRN zGlob, MK_STRN zStr) |
String Globbing … | |
static MK_I32 | Sq3StrIcmp (MK_STRN arg0, MK_STRN arg1) |
String Comparison … | |
static MK_I32 | Sq3StrLike (MK_STRN zGlob, MK_STRN zStr, MK_I32 cEsc) |
String LIKE Matching … | |
static MK_I32 | Sq3StrNicmp (MK_STRN arg0, MK_STRN arg1, MK_I32 arg2) |
String Comparison … | |
Sq3Lite - Sq3Lite_Internal_String_C_API - function | |
MK_I32 | Sq3StrGlobP (MK_STRN zGlob, MK_STRN zStr) |
Non-inline replacement for Sq3StrGlob … | |
MK_I32 | Sq3StrIcmpP (MK_STRN arg0, MK_STRN arg1) |
Non-inline replacement for Sq3StrIcmp … | |
MK_I32 | Sq3StrLikeP (MK_STRN zGlob, MK_STRN zStr, MK_I32 cEsc) |
Non-inline replacement for Sq3StrLike … | |
MK_I32 | Sq3StrNicmpP (MK_STRN arg0, MK_STRN arg1, MK_I32 arg2) |
Non-inline replacement for Sq3StrNicmp … | |
Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'String' …
String Comparison:
String Globbing:
String LIKE Matching:
Reference code from sqlite3:
String Globbing …
The Sq3StrGlob (P,X) interface returns zero if and only if string X matches the GLOB pattern P. The definition of GLOB pattern matching used in Sq3StrGlob (P,X) is the same as for the "X GLOB P" operator in the SQL dialect understood by SQLite. The Sq3StrGlob (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 Sq3StrIcmp () and Sq3StrNicmp ().
See also: Sq3StrLike ().
Reference code from sqlite3:
Definition at line 824 of file LibSq3Lite_sq3.h.
Non-inline replacement for Sq3StrGlob …
String Comparison …
The Sq3StrIcmp () and Sq3StrNicmp () 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.
Reference code from sqlite3:
Definition at line 829 of file LibSq3Lite_sq3.h.
Non-inline replacement for Sq3StrIcmp …
String LIKE Matching …
The Sq3StrLike (P,X,E) interface returns zero if and only if string X matches the LIKE pattern P with escape character E. The definition of LIKE pattern matching used in Sq3StrLike (P,X,E) is the same as for the "X LIKE P ESCAPE E" operator in the SQL dialect understood by SQLite. For "X LIKE P" without the ESCAPE clause, set the E parameter of Sq3StrLike (P,X,E) to 0. As with the LIKE operator, the Sq3StrLike (P,X,E) function is case insensitive - equivalent upper and lower case ASCII characters match one another.
The Sq3StrLike (P,X,E) function matches Unicode characters, though only ASCII characters are case folded.
Note that this routine returns zero on a match and non-zero if the strings do not match, the same as Sq3StrIcmp () and Sq3StrNicmp ().
See also: Sq3StrGlob ().
Reference code from sqlite3:
Definition at line 834 of file LibSq3Lite_sq3.h.
Non-inline replacement for Sq3StrLike …
String Comparison …
Definition at line 839 of file LibSq3Lite_sq3.h.
Non-inline replacement for Sq3StrNicmp …