Click or drag to resize

CSTRISplitString Method (CGXNETCore, String, String, String, Int32)

Splits a string in two on a character.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void ISplitString(
	CGXNETCore gxNetShared,
	ref string origstr,
	string ch,
	ref string split,
	int length
)

public static void ISplitString(
	CGXNETCore gxNetShared,
	ref string origstr,
	string ch,
	ref string split,
	int length
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
origstr
Type: SystemString
Original string
ch
Type: SystemString
Split character (first character of string)
split
Type: SystemString
Split string past split character.
length
Type: SystemInt32
Maximum length of split string.
Remarks
The original string is modified by terminating it at the character split. The part of the string past the character split is copied to the split string. Split characters in quoted strings are ignored. This function is mainly intended to separate comments from control file strings.
See Also