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:
parent
974b916b5c
commit
bc6a43d84c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user