Module:String2: Difference between revisions

Content deleted Content added
Copy changes by User:Tholme from Module:String2/sandbox per edit request.
Line 26:
-- this is a piped wikilink, so we capitalise the text, not the pipe
local _
_, letterpos = mw.ustring.find(s, "|%AW*%aw") -- find the first letter after the pipe
else
letterpos = mw.ustring.find(s, '%aw')
end
if letterpos then