Advertisement
Dudugz-Contistente

Untitled

Sep 21st, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. 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