When I receive a string which has a special character in controller from an Ajax call, I see the following behaviour
string actualContent ="abc\efg";
The \ in the content is received as
string contentReceived ="abc\\efg";
What is the best way to remove the escaping character \ ? Either in controller while receiving this string or in jquery while post processing this.