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.