Click or drag to resize

CSTRiTokens2 Method

General tokenize a string

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iTokens2(
	CGXNETCore gxNetShared,
	ref string str_val,
	string soft,
	string hard,
	string esc,
	string quote
)

public static int iTokens2(
	CGXNETCore gxNetShared,
	ref string str_val,
	string soft,
	string hard,
	string esc,
	string quote
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
str_val
Type: SystemString
String to tokenize
soft
Type: SystemString
szSoft - Soft delimiters (spaces/tabs)
hard
Type: SystemString
szHard - Hard delimiters (commas)
esc
Type: SystemString
szEsc - Escape delimiters (back-slash)
quote
Type: SystemString
szQuote- Quote delimiters (quote characters)

Return Value

Type: Int32
Number of Tokens
Remarks
This function is for old GX compatibility only. See iTokenize_STR. DO NOT use this function except in GXC code. The corresponding IGetToken_STR function will not operate correctly in GX.Net code.
See Also