HeaderUtilities.UnescapeAsQuotedString(StringSegment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for