Replace If String

Syntax

Replace If String

Parameters

Array

Array of strings

New Value

Replacement value

Predicate

Function that takes string and returns boolean.
If returns true this element will be replaced with New Value

Output

Result

Modified Array