public static string ReplaceSpecialCharacters(this string @sText) { @sText.Replace("& lt; ", "<"); @sText.Replace("& gt;", ">"); sText.Replace("& amp;", "&"); @sText.Replace("& quot;", "\""); sText.Replace("& apos;", "\'"); return @sText; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)