Module:Sandbox/Matroc/Str left

local p = {} function p.left( frame ) astring = frame.args[1] or "" count = frame.args[2] or astring.len astring = astring:sub(1,count) return astring end return p