VC:CString用法大全
  列表形式的如下:
  CString的构造函数
  CString( );
  例:CString csStr;
  CString( const CString& stringSrc );
  例:CString csStr("ABCDEF中文123456");
  CString csStr2(csStr);
  CString( TCHAR ch, int nRepeat = 1 );
  例:CString csStr('a',5);
  //csStr="aaaaa"
  CString( LPCTSTR lpch, int nLength );
  例:CString csStr("abcdef",3);
  //csStr="abc"
  CString( LPCWSTR lpsz );
  例:wchar_t s[]=L"abcdef";
  CString csStr(s);
  //csStr=L"abcdef"
  CString( const unsigned char* psz );
  例:const unsigned char s[]="abcdef";
  const unsigned char* sp=s;
  CString csStr(sp);
  //csStr="abcdef"
  CString( LPCSTR lpsz );
  例:CString csStr("abcdef");
  //csStr="abcdef"
  int GetLength( ) const;
  返回字符串的长度,不包含结尾的空字符。
  例:csStr="ABCDEF中文123456";
  printf("%d",csStr.GetLength()); //16
  void MakeReverse( );
  颠倒字符串的顺序
  例:csStr="ABCDEF中文123456";
  csStr.MakeReverse();
  cout<<csStr; //654321文中FEDCBA
  void MakeUpper( );
  将小写字母转换为大写字母
  例:csStr="abcdef中文123456";
  csStr.MakeUpper();
  cout<<csStr; //ABCDEF中文123456
  void MakeLower( );
  将大写字母转换为小写字母
  例:csStr="ABCDEF中文123456";
  csStr.MakeLower();
  cout<<csStr; //abcdef中文123456
  int Compare( LPCTSTR lpsz ) const;
  区分大小写比较两个字符串,相等时返回0,大于时返回1,小于时返回-1
  例:csStr="abcdef中文123456";
  csStr2="ABCDEF中文123456";
  cout<<csStr.CompareNoCase(csStr2); //0
  int CompareNoCase( LPCTSTR lpsz ) const;
  不区分大小写比较两个字符串,相等时返回0,大于时返回1,小于时返回-1