System.Globalization.Localization.Unescape C# (CSharp) Method

Unescape() protected method

protected Unescape ( string text ) : string
text string
return string
        protected virtual string Unescape(string text)
        {
            return text.Trim('"')
                .Replace("\\n", "\n")
                .Replace("\\\"", "\"")
                ;
        }