 | CSTRiCountTokens Method |
Counts number of tokens.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iCountTokens(
CGXNETCore gxNetShared,
string str_val,
string delims
)
public static int iCountTokens(
CGXNETCore gxNetShared,
string str_val,
string delims
)
Public Shared Function iCountTokens (
gxNetShared As CGXNETCore,
str_val As String,
delims As String
) As Integer
Public Shared Function iCountTokens (
gxNetShared As CGXNETCore,
str_val As String,
delims As String
) As Integer
public:
static int iCountTokens(
CGXNETCore^ gxNetShared,
String^ str_val,
String^ delims
)
public:
static int iCountTokens(
CGXNETCore^ gxNetShared,
String^ str_val,
String^ delims
)
static member iCountTokens :
gxNetShared : CGXNETCore *
str_val : string *
delims : string -> int
static member iCountTokens :
gxNetShared : CGXNETCore *
str_val : string *
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 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