Status
Tech review

Style guide




Short description

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

Output

Available since




The function returns a text 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 : Text



Parser expressionDescription


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


The function returns a text : "He_lo World"



Parameters used in this function

ParameterInput (data type)Description
xxx

Parameter description.
xxx

Parameter description.
xxx

Parameter description.



This function returns a