Jump to content

Module:Helpers

From Wikibooks, open books for an open world
local p={}

--function p.nocaps(frame)
--  return lower(frame.args.text)
--end

function p.replace(frame)
  local s, _ = mw.ustring.gsub(frame.args.text,frame.args.what,frame.args.with)
  return s
end

return p