 | CSTREscape Method (CGXNETCore, String, Int32, Int32) |
Convert/replace escape sequences in strings.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void Escape(
CGXNETCore gxNetShared,
ref string str_val,
int length,
int opt
)
public static void Escape(
CGXNETCore gxNetShared,
ref string str_val,
int length,
int opt
)
Public Shared Sub Escape (
gxNetShared As CGXNETCore,
ByRef str_val As String,
length As Integer,
opt As Integer
)
Public Shared Sub Escape (
gxNetShared As CGXNETCore,
ByRef str_val As String,
length As Integer,
opt As Integer
)
public:
static void Escape(
CGXNETCore^ gxNetShared,
String^% str_val,
int length,
int opt
)
public:
static void Escape(
CGXNETCore^ gxNetShared,
String^% str_val,
int length,
int opt
)
static member Escape :
gxNetShared : CGXNETCore *
str_val : string byref *
length : int *
opt : int -> unit
static member Escape :
gxNetShared : CGXNETCore *
str_val : string byref *
length : int *
opt : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to modify - length
- Type: SystemInt32
String size - opt
- Type: SystemInt32
<define>STR_ESCAPE</define>
Remarks
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.
See Also