can anybody help me make a split function please :P i need it do something like this:
basically it should add only the bla's in the Data array..Code:CString Data[1];
CString txt;
txt="bla*blabla*blablabla*...etc" //who knows how many bla's :P
split(Data,txt,"*"); //or something like this
for example..
Data[0]="bla";
Data[1]="blabla";
Data[2]="blablabla";
etc..
the big problem is how to add more rows to the array of data.. i really dunno how you do that in c++
thanks