Way faster...

("[%i];"):format(str) is much faster then using str = str .. ";", like 50% faster.

NOTE: Untested with Garry's Mod methods.