|
A string str = "ab # c # .... # de"
#The number of preceding strings is indefinite
How can I store the characters before # in an Array
int i = 0;
CString stri; ????
CStringArray StrArray;
AfxExtractSubString (stri, (LPCTSTR) str, i, '#');
StrArray.Add (stri);
i ++; ???? |
|