matchText
We've encountered an issue exporting this macro. Please try exporting again later.
Syntax | matchText(input, regex) | Package | |
Alias | Pkg Usage |
Description
Returns the text matched or empty string if it doesn't match.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
input | String | Yes | Specifies a character expression to match the regex against. |
regex | String | Yes | Specifies a regular expression to match the specified string. |
Return Type
String
Example
wret = matchText("This will return ?", ".*will");
print("Return " + wret);Returns the string matched at the beginning of the string until "will" word.
For more information on regular expressions, see Oracle documentation.
See also
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.
