Click or drag to resize

CSTRSubstr Method (CGXNETCore, String, String, Int32)

Extract part of a string.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void Substr(
	CGXNETCore gxNetShared,
	ref string dest,
	string orig,
	int start
)

public static void Substr(
	CGXNETCore gxNetShared,
	ref string dest,
	string orig,
	int start
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
dest
Type: SystemString
Destination string
orig
Type: SystemString
Origin string
start
Type: SystemInt32
Start location
Remarks
The destination string length will be less than the requested length if the substring is not fully enclosed in the origin string. The length of the destination string MUST be at least the requested lenth plus 1.
See Also