Module:Date Stuff: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
local args = {} | |||
--Takes a string and splits it based on a specified delimiter | |||
function Split(s, delimiter) | |||
result = {}; | |||
for match in (s..delimiter):gmatch("(.-)"..delimiter) do | |||
table.insert(result, match); | |||
end | |||
return result; | |||
end | end | ||
function p. | |||
function p.test(frame) | |||
return frame | |||
end | end | ||
return p | return p | ||
Revision as of 11:54, 5 July 2021
Documentation for this module may be created at Module:Date Stuff/doc