Remove ,
This commit is contained in:
@@ -404,6 +404,10 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals)
|
|||||||
|
|
||||||
while ( ss >> str )
|
while ( ss >> str )
|
||||||
{
|
{
|
||||||
|
if ( str.size() == 0 )
|
||||||
|
continue;
|
||||||
|
if ( str[str.size()-1] == ',' )
|
||||||
|
str.resize(str.size()-1);
|
||||||
outVals.push_back(str);
|
outVals.push_back(str);
|
||||||
while ( ss.peek() == ' ' )
|
while ( ss.peek() == ' ' )
|
||||||
ss.ignore();
|
ss.ignore();
|
||||||
|
|||||||
Reference in New Issue
Block a user