BBjString::matches
Description
In BBj 7.0 and higher, this method tells whether or not this string matches the given regular expression. An invocation of this method of the form str.matches(regex) yields exactly the same result as the expression Pattern.matches(regex, str).
Syntax
Return Value |
Method |
---|---|
boolean |
matches(string regex) |
Parameters
Variable |
Description |
---|---|
regex |
The regular expression to which this string is to be matched. |
Return Value
Returns true if, and only if, this string matches the given regular expression.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.