Board Thread:Lua Help/@comment-8335270-20150302041119/@comment-8335270-20150302181708

oo it works! Can you tell me why "local result = {}" and removing "i" from "table.insert(result,i,replacement)" is necessary here?