Difference between revisions of "Module:String"
Jump to navigation
Jump to search
what>IAlex (test) |
what>IAlex (fix) |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
− | function p.length( | + | function p.length( frame ) |
− | return string.len( | + | local arg1 = frame.args[1] |
+ | return string.len( arg1 ) | ||
end | end | ||
return p | return p |
Revision as of 10:48, 22 August 2012
local p = {}
function p.length( frame )
local arg1 = frame.args[1] return string.len( arg1 )
end
return p