Module:YearStrip

From WikiConference North America
Revision as of 07:58, 30 January 2015 by James Hare (talk | contribs) (Created page with "local p = { } function p.YearStrip(pagename) local output = string.gsub(pagename, "[0-9][0-9][0-9][0-9]%/", nil) return output end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:YearStrip/doc

local p = { }

function p.YearStrip(pagename)
	local output = string.gsub(pagename, "[0-9][0-9][0-9][0-9]%/", nil)
	return output
end

return p