| CSTREscape Method |
Convert/replace escape sequences in strings.
Available since Oasis montaj version: 5.0.6
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Escape characters:
\a bell
\b backspace
\f formfeed
\n new line
\r carriage return
\t tab
\v vertical tab
\" quote character
\x take 'x' literally
\\ backslash
\ooo octal up to 3 characters
\xhh hex up to 2 characters
A common use of this function is to convert double-quote characters in
a user unput string to \" so the string can be placed in a tokenized
string.
Syntax public static void Escape(
ref string str1,
int i2
)
Public Shared Sub Escape (
ByRef str1 As String,
i2 As Integer
)
public:
static void Escape(
String^% str1,
int i2
)
static member Escape :
str1 : string byref *
i2 : int -> unit
Parameters
- str1
- Type: SystemString
string to modify - i2
- Type: SystemInt32
See STR_ESCAPEConstant
See Also