VBA/Excel/Access/Word/String Functions/ISLIKE

Материал из VB Эксперт
Перейти к: навигация, поиск

Returns true if the first argument is like the second

 
Function ISLIKE(text As String, pattern As String) As Boolean
    If text Like pattern Then ISLIKE = True _
        Else ISLIKE = False
End Function