This commit is contained in:
jl777
2019-04-03 06:37:57 -11:00
parent cd16c88711
commit 5579964235

View File

@@ -404,6 +404,10 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals)
while ( ss >> str )
{
if ( str.size() == 0 )
continue;
if ( str[str.size()-1] == ',' )
str.resize(str.size()-1);
outVals.push_back(str);
while ( ss.peek() == ' ' )
ss.ignore();