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

compareText()

Top  Previous  Next

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

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

 

Non-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