Public Function GetTokenFast( _
ByRef rValue As String _
, ByVal vTokenSep As String _
, ByVal vCompare As VbCompareMethod _
) As String Assuming
Dim S As String
S = "First,Second,Third"
for example
GetTokenFast(S, ",", vbBinaryCompare) = "First"
leaves
S = "Second,Third"See also: GetToken Function
GetTokenCharSeps Function
GetTokenAlphanumeric Function
GetTokenNonSpace Function
GetVBToken Function
GetOpt Function
strtok Function
GetTokenFastSample SubroutinerValue: The string containing the tokens of which the first is to be removed and returned. vCompare: Specifies the type of comparison used to determine if the token separator string vTokenSep appears within the string rValue.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.