 | CSTRiTokens Method |
Tokenize a string
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iTokens(
CGXNETCore gxNetShared,
ref string str_val,
string delims
)
public static int iTokens(
CGXNETCore gxNetShared,
ref string str_val,
string delims
)
Public Shared Function iTokens (
gxNetShared As CGXNETCore,
ByRef str_val As String,
delims As String
) As Integer
Public Shared Function iTokens (
gxNetShared As CGXNETCore,
ByRef str_val As String,
delims As String
) As Integer
public:
static int iTokens(
CGXNETCore^ gxNetShared,
String^% str_val,
String^ delims
)
public:
static int iTokens(
CGXNETCore^ gxNetShared,
String^% str_val,
String^ delims
)
static member iTokens :
gxNetShared : CGXNETCore *
str_val : string byref *
delims : string -> int
static member iTokens :
gxNetShared : CGXNETCore *
str_val : string byref *
delims : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to tokenize - delims
- Type: SystemString
Delimiter characters
Return Value
Type:
Int32Number of tokens, maximum is 2048
Remarks
Delimiters in the string are reduced to a single NULL.
Delimiters withing double quoted strings are ignored.
Use GetToken_STR to extract tokens.
DO NOT use this function except in GXC code. The corresponding
IGetToken_STR function will not operate correctly in GX.Net code.
See Also