Like(String,String,Char) Method
Determines whether a specific character string matches a specified pattern.
'Declaration
Public Overloads Shared Function Like( _
ByVal As String, _
ByVal As String, _
ByVal As Char _
) As Boolean
Parameters
- matchExpression
- The string to be searched.
- pattern
- The pattern, which may include wildcard characters, to match in matchExpression.
- escapeCharacter
- The character to put in front of a wildcard character to indicate that it should be interpreted as a regular character and not as a wildcard character.
Return Value
True if matchExpression matches the pattern; otherwise, false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2