Click or drag to resize

CSTRISplitString Method (CGXNETCore, String, String, String)

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
)

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

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.
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