UnquoteText(string) Method

Summary

Removes enclosing quotes around input string and unescapes quote characters inside of string.
Assembly
gitversion.dll
Namespace
GitVersion
Containing Type
QuotedStringHelpers

Syntax

public static string UnquoteText(string input)

Examples

"\"one \\\"two\\\"\"" -> "one \"two\""

Parameters

Name Type Description
input string Input string to unescape.

Return Value

Type Description
string Unescaped string.