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

Compare with Current View Page History

« Previous Version 5 Next »

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.

Syntax
replaceFirst(string s, string regexp, string replacement) #Output : Text
Examples
Parser expressionDescription
replaceFirst("Hello World", "l", "_")

The function returns a text : "He_lo World"

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 TEXT