Jump to content

Module:Sandbox/Codemini/Find string

From Simple English Wikipedia, the free encyclopedia
Revision as of 09:12, 9 June 2025 by Codemini (talk | changes) (New module - Start up)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Script error: The module returned a nil value. It is supposed to return an export table. Purge


-- test
         -- find a given string and replace with another. Example:
             -- # to §
local p = {}

function p.main(frame, pagename)
 local pagename = pagename
return string.gsub(pagename, "#", "§") and string.gsub(pagename, ".", "¤")
end
return p