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 \, \; \\).

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static string Escape(
	this string escapeText
)

Parameters

escapeText  String
The string to escape

Return Value

String
The escaped string

Usage Note

In 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).

See Also