Module:String: Difference between revisions

fix
(test)
 
(fix)
Line 1: Line 1:
local p = {}
local p = {}


function p.length( str )
function p.length( frame )
     return string.len( str )
    local arg1 = frame.args[1]
     return string.len( arg1 )
end     
end     


return p
return p
Anonymous user