ContainsStrRegex
|
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
ContainsStrRegex( value, pattern )
contains_str_regex( value, pattern )
ContainsStrRegex( value, pattern )
ContainsStrRegex( value, pattern )
ContainsStrRegex( value, pattern )
ContainsStrRegex( value, pattern )
Description
The ContainsStrRegex function returns true when the value string matches
the pattern regular expression, or false when it does not.
Parameters
| Parameter | Type | Definition and Requirements |
|---|---|---|
|
String |
The string to compare. |
|
String |
The regular expression to match within |
Returns
Returns a Boolean: true when value matches the pattern
regular expression, or false when it does not.
Examples
The following query demonstrates the case where the value string
matches the pattern regular expression:
true
True
true
BooleanV(True)
true
true
The following query demonstrates the case where the value string
does not match the pattern regular expression:
false
False
false
BooleanV(False)
false
false