Click or drag to resize

CSTRiCountTokens Method

Counts number of tokens.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iCountTokens(
	CGXNETCore gxNetShared,
	string str_val,
	string delims
)

public static int iCountTokens(
	CGXNETCore gxNetShared,
	string str_val,
	string delims
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
str_val
Type: SystemString
String to tokenize
delims
Type: SystemString
Delimiter characters

Return Value

Type: Int32
Number of tokens in the string.
Remarks
Delimiters are "soft" in that one or more delimiters is considered a single delimiter, and preceding and trailing delimiters are ignored. DO NOT use this function except in GXC code. The corresponding IGetToken_STR function will not operate correctly in GX.Net code.
See Also