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");




原文地址:https://www.cnblogs.com/xe2011/p/32a163974889f1a0895cb47934c06b12.html