EncodingUtilsEscape Method
This method is used to replace carriage returns, line feeds, commas, semi-colons, and backslashes
within the string with an appropriate escape sequence (\r \n \, \; \\).
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static string Escape(
this string escapeText
)
<ExtensionAttribute>
Public Shared Function Escape (
escapeText As String
) As String
public:
[ExtensionAttribute]
static String^ Escape(
String^ escapeText
)
[<ExtensionAttribute>]
static member Escape :
escapeText : string -> string
- escapeText String
- The string to escape
StringThe escaped 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).