try this: :) CString text = "Jake#Caroline#Mark#Anthony#Sid#"; CString name; int index=0; while (AfxExtractSubString(name, text, index++, '#') { if (name != "") { // do something } }
D
David Scambler
@David Scambler
Posts
-
Parsing a string that contains only one seperator -
Allright, who's a math whiz?I'll have a look at it, in my copious (joke) spare time. :)