I want to replace the string Prab\A\kar to Prab\kar I have tried like this
string temp = @"prab\A\kar";
temp = temp.Replace(@"\A\", @"\");
and i got as "prab\\kar". As i mentioned in the title I want it as "Prab\kar"
I want to replace the string Prab\A\kar to Prab\kar I have tried like this
string temp = @"prab\A\kar";
temp = temp.Replace(@"\A\", @"\");
and i got as "prab\\kar". As i mentioned in the title I want it as "Prab\kar"
temp = temp.Replace(@"\A\", @"\");