Hey!
I have a variable, holding entire web-page, another variable holding a script string.sub-ed from the said page. I want to add something to the script and insert it back, replacing the original.
I'm looking for string.gsub alternatives. Two reasons - I don't need pattern matching, only plain text is replaced + I'm doing replacement of a rather big chunk of text and I read plain text replacement can be faster!
Also, for some reason string gsub does not seem to work in this situation - when printed to the log I get only part of the page, however in the browser I get it in the full response.
Google only wants me to use gsub apparently :(
Thanks!