adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / StringUtil Class / StartsWith Method
The string to search
The string to look for
The comparison to use

In This Topic
    StartsWith Method
    In This Topic
    Tests whether a string starts with another string
    Syntax
    'Declaration
     
    
    Public Shared Function StartsWith( _
       ByVal source As String, _
       ByVal lookFor As String, _
       ByVal comparison As StringComparison _
    ) As Boolean
    public static bool StartsWith( 
       string source,
       string lookFor,
       StringComparison comparison
    )

    Parameters

    source
    The string to search
    lookFor
    The string to look for
    comparison
    The comparison to use
    See Also