My problem is when i try to add a url to a link, an extra " is always appended at the end of the string.
Current faulty code :
Label add_url = "<a href=\"/test/\">link</a>"; // produces link pointing to /test/
Label rep_url = add_url.Replace("\"/", "http://mysite.com/"); // produces a faulty link which points to http://mysite.com/test/” <- NOTE! EXTRA ” HERE
Am i missing something? please help.
You probably missed the open quote, since you are replacing it: