匹配字符获取字符串
预判断第一个n所在位置,获取n之前的字符
{
CString m_strfilename = _T("Screen1.xml")
TCHAR chn = L'n';
CString strScreen = _T("");
int nFindn = 0;
nFindn = m_strfilename.Find(chn);
strScreen = m_strfilename.Left(nfindn);
}
{
CString m_strfilename = _T("Screen1.xml")
TCHAR chn = L'n';
CString strScreen = _T("");
int nFindn = 0;
nFindn = m_strfilename.Find(chn);
strScreen = m_strfilename.Left(nfindn);
}