1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update String.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-04-20 19:54:41 +03:00
parent 974b916b5c
commit bc6a43d84c

View File

@ -789,7 +789,10 @@ static String StrImplode(StackStrF & sep, Array & arr)
}
else
{
buf.pop_back(); // Remove trailing separator
for (SQInteger n = 0; n < sep.mLen; ++n)
{
buf.pop_back(); // Remove trailing separator
}
}
// Return the string
return buf;