_STRCMP

From QB64 Wiki
Revision as of 17:06, 9 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page