StrCmp()

StrCmp()

Type: REGULAR FUNCTION

Purpose: Compares two strings character by character, and returns a value indicating their relationship.

Usage: Result = StrCmp(String1, String2)

 

String1

STRING

First string for comparison

  String2 STRING Second string for comparison
  Result INDEX

–1 = String1 less than String2

0 = String1 identical to String2

1 = String1 greater than String2

Related Topics Link IconRelated Topics