Searched refs:startPos (Results 1 – 1 of 1) sorted by relevance
27 size_t startPos = 0; in SplitString() local29 while ((matchPos = s.find(separator, startPos)) != std::string::npos) { in SplitString()30 pieces.push_back(std::string(s, startPos, matchPos - startPos)); in SplitString()31 startPos = matchPos + separator.size(); in SplitString()34 if (startPos < s.size()) { in SplitString()35 pieces.push_back(std::string(s, startPos)); in SplitString()