1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-06-25 03:07:10 +02:00

Update String.cpp

This commit is contained in:
Sandu Liviu Catalin
2021-04-20 19:54:41 +03:00
parent 974b916b5c
commit bc6a43d84c
+3
View File
@@ -788,9 +788,12 @@ static String StrImplode(StackStrF & sep, Array & arr)
buf.clear(); // NO!
}
else
{
for (SQInteger n = 0; n < sep.mLen; ++n)
{
buf.pop_back(); // Remove trailing separator
}
}
// Return the string
return buf;
}