MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / commaListFront

Function commaListFront

SIP/SIPParse.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90string commaListFront(string cl)
91{
92 size_t cn = cl.find_first_of(',');
93 if (cn == string::npos) { cn = cl.size(); }
94 return cl.substr(0,trimrightn(cl.c_str(),cn));
95}
96
97
98// Case insenstive string comparison

Callers 2

smGetProxyMethod · 0.85
smCopyTopViaMethod · 0.85

Calls 2

trimrightnFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected