STRICMP: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{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 eva...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
{{PageDescription}} | {{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$}}. | * 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. | * Alphabet comparisons will be evaluated without regard to the letter case in the 2 strings. | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [https://qb64phoenix.com/forum/showthread.php?tid=1290 Featured in our "Keyword of the Day" series] | |||
* [[_STRCMP]] | * [[_STRCMP]] | ||
* [[STR$]] | * [[STR$]] |
Latest revision as of 18:14, 25 May 2024
The _STRICMP function compares the relationship between two strings, ignoring upper or lower case letters.
Syntax
- comparison% = _STRICMP(string1$, string2$)
Description
- Function returns -1 when string1$ is less than string2$, 0 when equal or 1 when string1$ is greater than string2$.
- Alphabet comparisons will be evaluated without regard to the letter case in the 2 strings.
See also