Definition at line 279 of file String.h. Referenced by Impala::Core::Feature::InterestPointFeature::ProjectLLC(). 00280 { 00281 String result; 00282 String::size_type pos = s.find(delim); 00283 if(pos == String::npos) 00284 { 00285 result = s; 00286 s = ""; 00287 return result; 00288 } 00289 result = s.substr(0, pos); 00290 s = s.substr(pos+1, s.size()); 00291 return result; 00292 }
|