Share via


HeaderUtilities.UnescapeAsQuotedString(StringSegment) Method

Definition

Given a quoted-string as defined by the RFC specification, removes quotes and unescapes backslashes and quotes. This assumes that the input is a valid quoted-string.

public:
 static Microsoft::Extensions::Primitives::StringSegment UnescapeAsQuotedString(Microsoft::Extensions::Primitives::StringSegment input);
public static Microsoft.Extensions.Primitives.StringSegment UnescapeAsQuotedString (Microsoft.Extensions.Primitives.StringSegment input);
static member UnescapeAsQuotedString : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Extensions.Primitives.StringSegment
Public Shared Function UnescapeAsQuotedString (input As StringSegment) As StringSegment

Parameters

input
StringSegment

The quoted-string to be unescaped.

Returns

An unescaped version of the quoted-string.

Applies to