Module:Text Utility: Difference between revisions

23 bytes added ,  22:10, 15 November 2019
m
no edit summary
(Created page with "function p.gsplit( text, pattern, plain ) if not pattern then pattern = '%s*,%s*' end local s, l = 1, text:len() return function () if s then local e, n = text:find( p...")
 
mNo edit summary
Line 1: Line 1:
local p = {}
function p.gsplit( text, pattern, plain )
function p.gsplit( text, pattern, plain )
if not pattern then pattern = '%s*,%s*' end
if not pattern then pattern = '%s*,%s*' end
Line 52: Line 53:
     return result
     return result
end
end
return p