somestring = "param=a&xyz"local stringToPrint = somestring:gsub("param=[^&]*([^&])", "param=hello%1", 1)print(stringToPrint)
Standard input is empty
param=helloa&xyz
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!