Click or drag to resize

CSTRISubstr Method (String, Int32, String, Int32, Int32)

Extract part of a string.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void ISubstr(
	ref string dest,
	int size,
	string orig,
	int start,
	int length
)

public static void ISubstr(
	ref string dest,
	int size,
	string orig,
	int start,
	int length
)

Parameters

dest
Type: SystemString
Destination string
size
Type: SystemInt32
Size of output string buffer
orig
Type: SystemString
Origin string
start
Type: SystemInt32
Start location
length
Type: SystemInt32
Number of characters
Remarks
The destination string length will be less than the requested length if the substring is not fully enclosed in the origin string.
See Also