Status
Tech review

Style guide




Short description

Returns a copy of s where the first substring matching the given regular expression regexp has been replaced with the given replacement string.

Output




The function returns a copy of s where the first substring matching the given regular expression regexp has been replaced with the given replacement string.


replaceFirst(string s, string regexp, string replacement) #Output : String



Parser expressionDescription


replaceFirst("Hello World", "l", "_")


The function returns a : "He_lo World"



Parameters used in this function

ParameterInput (data type)Description
<parameter>

Parameter description.
<parameter>

Parameter description.
<parameter>

Parameter description.



The function returns a