MATCH( )
Returns a Boolean indicating whether a pattern exists within a string.
Syntax
MATCH(source, pattern)
Arguments
source
The string to evaluate.
pattern
The string pattern to match. The pattern uses ECMAScript (JavaScript) syntax, as defined in Section 15.10 of Standard ECMA-262.
Returns
True if the pattern matches, false otherwise.
Example
The following example uses ECMAScript syntax in the pattern to detect any set of characters followed by the letter C, and returns true:
MATCH("ABC",".*C")
The following example checks whether the string starts with the letter X, followed by any single character, and ending with C. It returns false:
MATCH("ABC","X.C")

Additional Links:

© Copyright OpenText Corp. All rights reserved. Privacy Policy | Cookie Policy

BIRT iHub 2