LPCTSTR lpszInputString = "a b c d e f g"; CString strResult; int i = 0; while (AfxExtractSubString(strResult,lpszInputString, i++, _T(' '))) { // Do something with strResult... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)