![201207161605429935.png](https://i-blog.csdnimg.cn/blog_migrate/c7411839dbbc6da9bac9a3e6f072e59b.png)
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");
转载于:https://www.cnblogs.com/xe2011/archive/2012/06/03/32a163974889f1a0895cb47934c06b12.html