Method for uploading many variable from .txt

Is there a way to make “1-1=120,10,hello how are you” be loaded from a text file so that i don’t have to make something like “T1-1=120&P1-1=10&S1-1=hello how are you”.

Is there any code that would allow me to make the first " " a variable then after the “,” the next " " a variable so on.

I just cant think of any code that would allow me to do this (i currently have it set up like “T1-1=120&P1-1=10&S1-1=hell how are you”, but that really wont work in the long run).

If someone shows me the basics i can probably alter it to work in my engine. So if you can just do the small example and put it into something like var1 var2 and var3.

Thanks very much.