mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 09:44:19 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
25 lines
658 B
Text
25 lines
658 B
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:11:22}}
|
|
{{DISPLAYTITLE:_STRCMP}}
|
|
|
|
The [[_STRCMP]] function compares the relationship between two strings, comparing upper or lower case.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: {{Parameter|comparison%}} = [[_STRCMP]]({{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$}}.
|
|
* Upper case letters are valued less than lower case letters in the [[ASCII]] evaluation.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_STRICMP]]
|
|
* [[STR$]]
|
|
* [[STRING]]
|
|
* [[ASCII]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|