Exemplo n.º 1
0
        // ---------------- DecodeHeaderString_QuotedOnly --------------------------
        // decode the header string.  If it is quoted, dequote it. Otherwise, return as is.
        public static string DecodeHeaderString_QuotedOnly(string InString)
        {
            QuoteEncapsulation qem     = QuoteEncapsulation.Escape;
            string             results = null;

            if (Stringer.IsQuoted(InString, qem) == true)
            {
                results = Stringer.Dequote(InString, qem);
            }
            else
            {
                results = InString;
            }
            return(results);
        }