STRCOMP

Syntax

Example

Description/Remarks

STRCOMP "String 1", "String 2"

STRCOMP "X"," XXY"

This command does a binary comparison of strings, which is case sensitive.

If string1 is less than string 2, the command returns –1. If greater than it returns 1.

If string1 is equal to string 2, the command returns 0.