1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 15:00:38 +00:00
QB64-PE/internal/help/_STRCMP.txt

24 lines
613 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_STRCMP}}
2017-10-10 14:55:21 +00:00
The [[_STRCMP]] function compares the relationship between two strings, comparing upper or lower case.
2016-03-18 11:36:04 +00:00
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|comparison%}} = [[_STRCMP]]({{Parameter|string1$}}, {{Parameter|string2$}})
2016-03-18 11:36:04 +00:00
{{PageDescription}}
2017-10-10 14:55:21 +00:00
* 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.
2016-03-18 11:36:04 +00:00
2017-10-10 14:55:21 +00:00
{{PageSeeAlso}}
2016-03-18 11:36:04 +00:00
* [[_STRICMP]]
* [[STR$]]
* [[STRING]]
* [[ASCII]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<