/*
CompareStr example
The following code compares String1, 'STEVE', to String2, 'STEVe'. Note that CompareStr returns a number less than 0 because the value of 'e' is greater than the value of 'E'.
*/
AnsiString String1 = "STEVE";
AnsiString String2 = "Steve";
int I = CompareStr(String1, String2);  // the value of I is < 0
if (I != 0)
  ShowMessage ("The strings are not equal"); 
