Util.EscapeString(String, Char) Method

Definition

Escape a particular character in a string

public static string EscapeString (string value, char escapeCharacter);
static member EscapeString : string * char -> string
Public Shared Function EscapeString (value As String, escapeCharacter As Char) As String

Parameters

value
String

The string

escapeCharacter
Char

The character to escape

Returns

The equivalent string with the character escaped

Applies to