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 list
with the content of argument s where the first occurrence of substring find has been replaced with string replacement.

Output

Status
subtletrue
titlestring list




UI Text Box
sizemedium
typeinfo

The function returns a

Status
subtletrue
titlestring list
with the content of argument s where the first occurrence of substring find has been replaced with string replacement.


Code Block
languagebash
titleSyntax
linenumberstrue
findReplaceFirst(string s, string find, string replacement) #Output: String list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
findReplaceFirst("Goodbye my love, hello my friend.", "my", "your")


The function returns a

Status
subtletrue
titlestring list
"Goodbye your love, hello my friend."



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