STRCMP: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 21: Line 21:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Revision as of 17:42, 25 November 2022


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:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link