22 int mid = name.find(
":/");
24 carrier = name.substr(0,mid);
25 std::string tail = name.substr(mid+2);
26 if (carrier.length()>0 && carrier[0]==
'/') {
27 carrier = carrier.substr(1);
31 if (name.find(
"/net=") == 0 || name.find(
"/NET=") == 0) {
33 int patEnd = name.find(
'/',patStart);
34 if (patEnd>=patStart) {
35 networkChoice = name.substr(patStart,patEnd-patStart);
36 name = name.substr(patEnd);