string mystring = "-p \"C:\\Users\\mplususer\\Documents\\SharpDevelop Projects\\test\\test\\bin\\Debug\\test.exe\" -t False -r TestRun"
i have to extract from mystring whatever in front of command -r here is "Testrun"
string[] value = mystring .Split(new string[] { "\"-r " }, StringSplitOptions.None);
if (value.Length != 0)
{
runConfig = value[1].Replace("\"", "");
}