Click or drag to resize

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
Syntax
public 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
)

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