Lines Matching defs:strTmp
52 string strTmp = str;
53 while ((pos = strTmp.find(src, pos)) != string::npos) {
54 strTmp.replace(pos, src.length(), dst);
58 return strTmp;
67 string strTmp = str;
68 std::string::size_type firstBound = strTmp.find_first_not_of(cTrim);
70 strTmp.erase(0, firstBound);
73 std::string::size_type lastBound = strTmp.find_last_not_of(cTrim);
74 if (lastBound != std::string::npos && lastBound != strTmp.size() - 1) {
75 strTmp.erase(lastBound + sizeof(char));
78 return strTmp;
98 string strTmp = needTrim ? TrimStr(str) : str;
101 string::size_type pos = strTmp.find(sep);
103 strPart = needTrim ? TrimStr(strTmp) : strTmp;
109 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos);
113 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos);
225 string strTmp = str;
226 string::size_type pos = GetFirstSubStrBetween(strTmp, left, right, subString);
229 strTmp = strTmp.substr(pos);
230 pos = GetFirstSubStrBetween(strTmp, left, right, subString);