1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 21:40:25 +00:00
QB64-PE/internal/help/_STRCMP.txt
2016-03-18 08:36:04 -03:00

23 lines
633 B
Plaintext

{{DISPLAYTITLE:_STRCMP}}
The '''_STRCMP''' function compares the relationship between two strings, comparing upper or lower case.
{{PageSyntax}}
::: comparison% = '''_STRCMP('''''string1$, string2$''')'''
{{PageDescription}}
* Function returns -1 when ''string1$'' is less than ''string2$'', 0 when equal or 1 when ''string1$'' is greater than ''string2$''
* Upper case letters will be valued less than lower case letters in the [[ASCII]] evaluation.
* '''Note: The function does not return values over 1 or under -1 like some versions!'''
''See also:''
* [[_STRICMP]]
* [[STR$]]
* [[STRING]]
* [[ASCII]]
{{PageNavigation}}