Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- read={lines=function(a)a=a:gsub('<br>','\n'):gsub('</br>','')local b={}for c in a.gmatch(a,'[^\n]+')do table.insert(b,c)end;return b end}edit={line=function(a,c,d,e)local b=read.lines(a)local f=""for g,h in pairs(b)do if g==c then f=f..h:gsub(d,e).."\n"else f=f..h.."\n"end end;return f end}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement