You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The function returns a STRING like s, but where all substrings matching regexp have been replaced with the result of evaluating replacement_expression against each of these substrings.

Argument text_expression is an expression that returns a string, where ^% represents each of the matching substrings, and ^ represents the order of appearance beginning with 1.

Syntax
findModify(string s, string regexp, string replacement_expression) #Output: String
Examples
Parser expressionDescription
findModify(string s, string regexp, string replacement_expression) 

The function returns a STRING"ThE curE for bOredOm is cUriOsity."

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a STRING