查找字符串

来源:互联网 发布:净网大师会盗取数据吗 编辑:程序博客网 时间:2024/05/18 01:21

CString strFilePath;

strFilePath.Format("%s",pPrjPath);

 

m_strPrjDir=strFilePath.Left(strFilePath.ReverseFind('//'));

m_strPrjName=strFilePath.Right(strFilePath.GetLength()-m_strPrjDir.GetLength()-1);

原创粉丝点击