mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
22 lines
624 B
Text
22 lines
624 B
Text
{{DISPLAYTITLE:_STRICMP}}
|
|
|
|
The [[_STRICMP]] function compares the relationship between two strings, ignoring upper or lower case letters.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: {{Parameter|comparison%}} = [[_STRICMP]]({{Parameter|string1$}}, {{Parameter|string2$}})
|
|
|
|
|
|
{{PageDescription}}
|
|
* Function returns -1 when {{Parameter|string1$}} is less than {{Parameter|string2$}}, 0 when equal or 1 when {{Parameter|string1$}} is greater than {{Parameter|string2$}}.
|
|
* Alphabet comparisons will be evaluated without regard to the letter case in the 2 strings.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_STRCMP]]
|
|
* [[STR$]]
|
|
* [[STRING]]
|
|
* [[ASCII]]
|
|
|
|
|
|
{{PageNavigation}}
|