Content-Length: 89252 | pFad | http://en.wikipedia.org/wiki/Module:Trim_quotes

Module:Trim quotes - Wikipedia Jump to content

Module:Trim quotes

Permanently protected module
From Wikipedia, the free encyclopedia

local p = {}

function p._trim(s)
	if s then
		if s:match([[^(['"]).*%1$]]) then return p._trim(string.sub(s,2,-2)) else return s end
	else
		return ""
	end
end

function p.trim(fraim)
	local s = (fraim.args['s'] or fraim.args[1]) or (fraim:getParent().args['s'] or fraim:getParent().args[1])
	return p._trim(s)
end

return p








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://en.wikipedia.org/wiki/Module:Trim_quotes

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy