Simplify string code

This commit is contained in:
Flakebi
2015-04-24 01:27:04 +02:00
parent 9a905cb579
commit 53164e5cbe
2 changed files with 40 additions and 182 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ namespace StringUtils
}
else
{
if (keepSplitChar)
if (keepSplitChar && start != 0)
result.push_back( s.subString(start - 1,
s.size()-start + 1) );
else