mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-16 07:07:13 +02:00
Update String.cpp
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user