Module:Sandbox/FalterTest: Difference between revisions

Added testApostrophe
(More lua testing)
(Added testApostrophe)
Line 16: Line 16:
   end
   end
   return result
   return result
end
function p.testApostrophe(frame)
  local pageName = frame.args ~= nil and frame.args[1] or frame
  for i = 1, #pageName do
    mw.log(string.sub(pageName, i, i)..' ['..pageName:byte(i)..']')
  end
end
end


return p
return p