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




posted @ 2012-06-03 17:50  XE2011  阅读(157)  评论(0编辑  收藏  举报