These examples show how to filter records by comparing a field value to a constant string while doing a case insensitive comparison. For example, the following strings match each other when doing a case insensitive comparison: "Pele", "pele", "PELE", "PeLe", "pELE", "pElE", and so forth.
Include records where the value of a "name" field matches with the string "pele" while doing a case insensitive comparison. Matches include "Pele" and "PELE" .
"stricmp( name, \"pele\" ) == 0"
"strnicmp( name, \"pele\", 4 ) == 0"
"matchi( name, \"pele\" ) == 1"
Include records where the value of a "name" field does not match the string "pele" while doing a case insensitive comparison. Matches include "Michael Jordan", and "Babe Ruth".
"stricmp( name, \"pele\" ) != 0"
"strnicmp( name, \"pele\", 4 ) != 0"
"matchi( name, \"pele\" ) == 0"
Include records where the value of a "name" field is less than the string "pele" while doing a case insensitive comparison. Matches include "Michael Jordan", and "Babe Ruth".
"stricmp( name, \"pele\" ) < 0"
"strnicmp( name, \"PELE\", 4 ) < 0"
Include records where the value of a "name" field is less than or equal to the string "pele" while doing a case insensitive comparison. Matches include "Pele", "Michael Jordan", and "Babe Ruth".
"stricmp( name, \"PeLe\" ) <= 0"
"strnicmp( name, \"pele\", 4 ) <= 0"
Include records where the value of a "name" field is greater than the string "pele" while doing a case insensitive comparison. Matches include "Wayne Gretzky".
"stricmp( name, \"pElE\" ) > 0"
"strnicmp( name, \"pele\", 4 ) > 0"
Include records where the value of a "name" field is greater than or equal to the string "pele" while doing a case insensitive comparison. Matches include "Pele" and "Wayne Gretzky".
"stricmp( name, \"PELE\" ) >= 0"
"strnicmp( name, \"pele\", 4 ) >= 0"