I'm using C# for Windows. Imagine that I have a string like this (which is a POST request data):
?key=123&toke=64323sac&con=1
In a condition, con=1 parameter should be removed from the string and in other one, it should be there. How can I handle it?
Also, what if con
come as the first parameter?
I made a program which gets all of the input data from a HTML form and I'll send them using a raw POST request. So I have all of the data but there is a problem. One of the parameters (which values might be vary in each try) should be removed from the POST data string in a condition. I don't want to apply the condition in HTML parsing process and instead, It should be removed after the full string is gotten.