--- title: "string-compare-ignore-case()" slug: "string-compare-ignore-case" updated: 2026-08-17T08:35:06Z published: 2026-08-17T08:35:06Z canonical: "docs.lobstersoftware.com/string-compare-ignore-case" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # string-compare-ignore-case() This function performs a lexical comparison of two texts and returns whether **a** is equal to **b** (value "0"), **a** is less than **b** (value "-1") or **a** is greater than **b** (value "1"). Unlike in function "string-compare()", however, upper and lower case are not considered. See examples. ## Parameters | Parameter | Description | | --- | --- | | a | Text | | b | Text | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | a | a | 0 | | a | b | -1 | | b | a | 1 | | abc | abc | 0 | | abc | abd | -1 | | ABC | abc | 0 | | abc | aaa | 1 |