Piecewise

Build chat bots with blocks

replace (needle) with (replacement) in (haystack)

In the toolbox

Replace the specified text with the specified replacement.

Parameters

Parameter name Parameter type Required? Description
needle String The text to replace.
replacement String The text to replace the specified text with.
haystack String The text to search for the specified text in.

Output

String - The modified text.