FACT++  1.0
string SkypeClient::Contact ( const string &  id) const
inlineprivate

Definition at line 37 of file skypeclient.cc.

References size.

38  {
39  if (id.size()==0)
40  return "";
41 
42  if (id[0]!='#')
43  return "";
44 
45  const size_t p = id.find_first_of('/');
46  if (p==string::npos)
47  return "";
48 
49  return id.substr(1, p-1);
50  }
int size
Definition: db_dim_server.c:17