//
// 切割字符串
//
void CCStringPro::SplitString(CString strSource, CString strSplit, CStringArray& arrayStrDest)
{
arrayStrDest.RemoveAll();
int pos = 0;
int pre_pos = 0;
while( -1 != pos )
{
pre_pos = pos;
pos = strSource.Find(strSplit);
CString strTemp("");
if(pos==-1)
{
strTemp = strSource.Mid(0);
}
else
{
strTemp = strSource.Mid(0, pos);
}
strSource = strSource.Mid(pos+1);
arrayStrDest.Add(strTemp);
}
}