Click or drag to resize
CSTRiTokens2 Method
General tokenize a string

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
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
See Also