EncodingUtilsUnescape Method
This method is used to unescape carriage returns, line feeds, commas, semi-colons, and backslashes
within the string by replacing them with their literal characters.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static string Unescape(
this string unescapeText
)
<ExtensionAttribute>
Public Shared Function Unescape (
unescapeText As String
) As String
public:
[ExtensionAttribute]
static String^ Unescape(
String^ unescapeText
)
[<ExtensionAttribute>]
static member Unescape :
unescapeText : string -> string
- unescapeText String
- The string to unescape
StringThe unescaped stringIn Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
If any escaped single quotes, double quotes, or colons are encountered, they are also
unescaped. The specifications do not state that they have to be escaped, but some implementations
do, so they are handled here too just in case. However, they will not be escaped when written back
out.