FACT++  1.0
vector<string> SkypeClient::Split ( const string &  msg)
inlineprivate

Definition at line 335 of file skypeclient.cc.

336  {
337  using namespace boost;
338 
339  typedef char_separator<char> separator;
340  const tokenizer<separator> tok(msg, separator(" "));
341 
342  vector<string> vec;
343  for (auto it=tok.begin(); it!=tok.end(); it++)
344  vec.push_back((*it)[0]==0?it->substr(1):*it);
345 
346  return vec;
347  }