{{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}}