Méthode | Description | |
---|---|---|
Escape ( char c, bool useNumericRepresentationOnly = false ) : string |
Make an escaped string from a character.
|
|
Escape ( string s ) : string |
Makes an escaped string from a literal string s. Appends '\"' at the start and end of the encoded string.
|
|
Unescape ( string s ) : string |
Unescapes any escaped characters in in the input string. (Same as System.Text.RegularExpressions.Regex.Unescape)
|
Méthode | Description | |
---|---|---|
EscapeWithNumericSpace ( char c ) : string |
Make an escaped string from a character
|
|
ToUnicodeRepr ( int i ) : string |
public static Escape ( char c, bool useNumericRepresentationOnly = false ) : string | ||
c | char | given character |
useNumericRepresentationOnly | bool | if true then use numeric hexadecimal escaping of all characters |
Résultat | string |
public static Unescape ( string s ) : string | ||
s | string | |
Résultat | string |