Difference between revisions of "Module:SandboxShortCode"

From PKC
Jump to navigation Jump to search
(Created page with "local p = {} ustring = require('ustring') function p.byte() return ';byte\n:mw.ustring.byte(\'张\') is ' .. mw.ustring.byte("张") .. '\n' end")
 
Line 1: Line 1:
local p = {}
local p = {}
   
   
ustring = require('ustring')
function p.ustringchar()
     return ';byte\n:mw.ustring.char(24352) is ' .. mw.ustring.char(24352) .. '\n'
function p.byte()
     return ';byte\n:mw.ustring.byte(\'张\') is ' .. mw.ustring.byte("张") .. '\n'
end
end

Revision as of 06:59, 10 January 2022

Documentation for this module may be created at Module:SandboxShortCode/doc

local p = {}
 
function p.ustringchar()
    return ';byte\n:mw.ustring.char(24352) is ' .. mw.ustring.char(24352) .. '\n'
end