1、Cstring strTmp ; CStringArray csaTmp;
2、strTmp.MakeReverse(); //CString变量将内容反转的方法
3、strTmp.Format("%d",iNum); //将其他类型的变量转换成CString
4、strTmp.TrimLeft(); strTmp.TrimRight(); //CString去掉首尾空格的方法
5、strTmp.IsEmpty(); strTmp.Empty(); //用于判断CString是否为空的方法
6、CStringOpt::Split('-',strTmp,csaTmp); //将strTmp(CString)中的字符串以"-"切割放在csaTmp字符串数组里面(这个类型是CStringArray)
7、strTmp.GetAt(0) //表示取strTmp字符串的第一个字符
8、strTmp.GetLength(); //获取CString字符串的长度
9、csaTmp.GetSize(); //获取CStringArray字符串数组的大小
10、strTmp = "123";
strTmp=strTmp.Mid(1); //调用Mid方法结果是"23"
15、strTmp.MakeLower();//eg:strTmp = "Mitkkee";结果是mitkkee