MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / StrLikeText Method
Required. Any String expression.
Required. Any String expression conforming to the pattern-matching conventions described in Like Operator (Visual Basic).

In This Topic
StrLikeText Method
In This Topic
Compares the parameters source and pattern and returns the same results as the Like operator, using text comparison.
Syntax
'Declaration
 
Public Shared Function StrLikeText( _
   ByVal source As String, _
   ByVal pattern As String _
) As Boolean
 

Parameters

source
Required. Any String expression.
pattern
Required. Any String expression conforming to the pattern-matching conventions described in Like Operator (Visual Basic).

Return Value

A Boolean value indicating whether or not the string satisfies the pattern. If the value in string satisfies the pattern contained in pattern, result is True. If the string does not satisfy the pattern, result is False. If both string and pattern are empty strings, the result is True.
See Also