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


In This Topic
    StringContains Method
    In This Topic
    Tests whether a string contains another string.
    Syntax
    'Declaration
     
    
    Public Shared Function StringContains( _
       ByVal source As String, _
       ByVal lookFor As String, _
       ByVal comparison As StringComparison _
    ) As Boolean
    public static bool StringContains( 
       string source,
       string lookFor,
       StringComparison comparison
    )
    public:
    static bool StringContains( 
       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