Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a

Status
subtletrue
titlestring
like s, but where all substrings matching regexp have been replaced with the result of evaluating replacement_expression against each of these substrings.

Output

Status
subtletrue
titlestring

Available since




UI Text Box
sizemedium
typeinfo

The function returns a

Status
subtletrue
titlestring
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.


Code Block
languagebash
titleSyntax
linenumberstrue
findModify(string s, string regexp, string replacement_expression) #Output: String


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
findModify(string s, string regexp, string replacement_expression) 


The function returns a

Status
subtletrue
titlestring
"ThE curE for bOredOm is cUriOsity."



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

Status
subtletrue
titledata type

Parameter description.
<parameter>

Status
subtletrue
titledata type

Parameter description.
<parameter>

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titlestring