1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_STRCMP.md
2022-12-26 14:30:40 -06:00

494 B

The _STRCMP function compares the relationship between two strings, comparing upper or lower case.

Syntax

comparison% = _STRCMP(string1$, string2$)

Description

  • 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.

See Also