<-- Previous || Up || Next -->

Get Token Non Space Function
String Searches Class

Public Function GetTokenNonSpace( _
    ByRef rValue As Variant _
    ) As Variant

"Get Non-space Token"
Remove the first non-space token from the argument and return the token.
Function skips leading space-type characters (spaces, tabs, line feeds, etc.) before returning the first token.

Example:
    Assuming
       Dim S As String
       S = "   First, Second, Third"
    for example
       GetTokenNonSpace(S) = "First,"
    leaves
       S = "Second, Third"
See also:
    GetTokenCharSeps Function
    GetTokenAlphanumeric Function
    GetToken Function
rValue: The string containing the tokens of which the first is to be removed and returned. Function returns Null if rValue is Null or cannot be fixed up to a String.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.