ReplaceFirst (String str, String lookFor, String replaceWith)

Example

In this example, we are passing the required parameters to the data fields under the Input node inside the function transformation object.

Where,

str = April Danes

lookFor = Danes

replaceWith = Luke

isCaseSensitive = False

Right-click on the function transformation object and select Preview Output. You can see that the “Danes” has been replaced by “Luke” successfully.

© Copyright 2023, Astera Software