Module:Ruby/sandbox

local p = {} function p.split( frame ) --   -- implements --   local args = frame:getParent.args if not args[1] then return end args[1] = mw.text.trim( args[1] ) if not mw.ustring.find( args[1], '([^<]*)' or '([^<]*)' for i=1, #parts do       parts[i] = ( mw.ustring.match( parts[i], match ) or '' ) .. ( mw.ustring.match( parts[i], ' (.*)$' ) or '' ) end return first, table.concat( parts, '' ) end return p