示例#1
0
// Remove anything containing a colon : from the beginning of the string.
// Returns number of colons removed.
FXint TagParserBase::StripNamespace(FXString &s)
{
  FXint rv=s.contains(':');
  if (rv) {
    s.erase(0,s.rfind(':')+1);
  }
  return rv;
}