| CSTRiTokens Method |
Tokenize a string
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 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.
Syntax public static int iTokens(
ref string str1,
string str2
)
Public Shared Function iTokens (
ByRef str1 As String,
str2 As String
) As Integer
public:
static int iTokens(
String^% str1,
String^ str2
)
static member iTokens :
str1 : string byref *
str2 : string -> int
Parameters
- str1
- Type: SystemString
string to tokenize - str2
- Type: SystemString
delimiter characters
Return Value
Type:
Int32number of tokens, maximum is 2048
See Also