I appologize if this has been answered elsewhere but the terms I search for do not turn up a good fit.
I am new to everything I am trying to do here and need some direction to solve this problem.
I have a string that is 'variable1=5&varible2=3&variable3=27&varible4=1'
I need to be able to make this useful so I can do something like:
variable5 = variable1 + variable2
I have seen similiar(but not similiar enough) questions on other sites and the question never gets answered. People usually just shout at the person that what they want to do is dangerous so they are not going to help.
This is written on a stand alone linux terminal that will be placed on an industrial machine that will gather data from a PLC on the machine and send/recieve data from a website. This is the format that the data comes to me. The terminal will not be connected directly to any I/O so security is not a big concern.