Matches a string with a pattern. It is case-sensitive and supports the NotesSQL ODBC driver.
@Like( string ; pattern ) @Like( string ; pattern ; escape )
string
Text or text list. The value to be tested to see if it matches pattern.
pattern
Text or text list. The sequence of characters to search for within string. May also contain any of the wildcard characters listed as follows.
escape
Text. Optional. A character to use before a wildcard character to indicate that it should be treated literally.
Wildcard characters and symbols are:
C |
Where C is any character. Matches any single, non-special character C. |
---|---|
__ |
(Underscore). Matches any single character. |
% |
Matches any sequence of zero or more characters. |
flag
Number
If either parameter is a list, the function returns 1 if any element of the first parameter is like any element of the second parameter.
@Like( "A big test" ; "A_test" )
@Like( "A big test" ; "A_____test" )
@Like( "A big test" ; "%test" )
@Like( "A big test" : "A big exam" ; "%test" )
@Like( "A big test" ; "A BIG test" )
@Like( "A 100% improvement" ; "A %/% improv%" ; "/" )
Like operator of LotusScript® language