I dont remember how to "take a specific string out of a variable"
local bigstring = "This is a html script <html> <header> </header> </html>" local howto = function() return string.gsub(bitstring,"<html> <header> </header> </html>") end shortstring = howto() print(shortstring) -- I want this to be "This is a html script "
but instead im getting an error :
Bad argument: string/function/table expected
--
I dont remember how to anymore...
Could anyone please tell me ?
Thanks in Advance












