Combine the elements in a string vector to a new string.
string str_combine( const vector<string> & vsSource, LPCSTR lcpszSep )
Return the combined string.
EX1
void test_str_combine() { vector<string> vsSections; vsSections.Add("The United States"); vsSections.Add("China"); vsSections.Add("Japan"); vsSections.Add("Origin is good"); string strSep = "\r\n"; string strCombine= str_combine(vsSections,strSep); out_str(strCombine); }
str_separate
origin.h