CompareStr
String String1 = "Abc";
String String2 = "ABC";
int I = CompareStr(String1, String2); // The value of I is less than 0.
Edit1->Text = IntToStr(I); //Return Value
if (I != 0) ShowMessage ("The strings are not equal");
String String1 = "Abc";
String String2 = "ABC";
int I = CompareStr(String1, String2); // The value of I is less than 0.
Edit1->Text = IntToStr(I); //Return Value
if (I != 0) ShowMessage ("The strings are not equal");