Navigation: Function Reference > General Utility Functions > compareStr()

compareStr()

Top  Previous  Next

compareStr( str1: String; str2: String ) : Integer;

ansiCompareStr( str1: String; str2: String ) : Integer;

 

Case-sensitive compare of two strings. Returns <0 if str1 is less than str2, 0 if str1 is equal to str2, or >0 if str1 is greater than str2.

 

Parameters

 

str1

string value

str2

string value