Compares two string values using the pattern matching algorithm and evaluates result of comparison to a logical value.
Parameters
Parameters
Description
targetString
A string that should tested.
patternString
A string that contains pattern.
Returns
Logical::True if targetString matches pattern, or Logical::False if targetString doesn't match pattern; or Logical::Unknown otherwise, e.g. if pattern is incorrect and can not be parsed.
Remarks
Pattern matching characters table: @ Matches any letter ^ Matches any upper case letter ? Matches any character & Matches remainder of string
Matches any digit
$ Matches a substring terminated by a space character or end-of-string
Matches any number of characters (including letters and digits)
Begins a pattern escape sequence (for pattern matching characters compare, '@' LIKE '@' = TRUE) ! Negation character (used with the other characters)