forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 24
_STRCMP
Cory Smith edited this page Sep 1, 2022
·
3 revisions
The _STRCMP function compares the relationship between two strings, comparing upper or lower case.
comparison% = _STRCMP(string1$, string2$)
- Function returns -1 when string1$ is less than string2$, 0 when equal or 1 when string1$ is greater than string2$.
- Upper case letters are valued less than lower case letters in the ASCII evaluation.