| CSTRiCountTokens Method |
Counts number of tokens.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.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.
Syntax public static int iCountTokens(
string str1,
string str2
)
Public Shared Function iCountTokens (
str1 As String,
str2 As String
) As Integer
public:
static int iCountTokens(
String^ str1,
String^ str2
)
static member iCountTokens :
str1 : string *
str2 : string -> int
Parameters
- str1
- Type: SystemString
string to tokenize - str2
- Type: SystemString
delimiter characters
Return Value
Type:
Int32Number of tokens in the string.
See Also