![](../icons/Help.png) | CSTRiCountTokens Method |
Counts number of tokens.
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntaxpublic 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:
static int iCountTokens(
CGXNETCore^ gxNetShared,
String^ str_val,
String^ delims
)
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.
See Also