CStringT::Tokenize
CStringT Tokenize( PCXSTR pszTokens, int& iStart) const;
CAtlString str(_T("%First Second#Third"));
CAtlString resToken;
int curPos = 0;
resToken= str.Tokenize(_T("% #"),curPos);
while (resToken != _T(""))
{
_tprintf_s(_T("Resulting token: %s "), resToken);
resToken = str.Tokenize(_T("% #"), curPos);
};
版权声明:本文为博主原创文章,未经博主允许不得转载。