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

Compare with Current View Page History

« Previous Version 7 Next »

This function returns a text 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) 

This example returns a STRING"ThE curE for bOredOm is cUriOsity."

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a STRING