Jump to content

Module:Sandbox/Squc/Test

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Squc (talk | contribs) at 06:59, 4 August 2013 (Created page with '-- Testing module local p={} function p.test1 (input) local output = "" for i=1, #input do output = (output..input:sub(i, i)..",") end return outpu...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- Testing module

local p={}

function p.test1 (input)
    local output = ""
    for i=1, #input do output = (output..input:sub(i, i)..",") end
    return output
end