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

Compare with Current View Page History

« Previous Version 12 Next »

This function replaces all defined substrings with the given replacement. It works like findReplaceAll() but ignoring the case.

Syntax
findReplaceAllIgnoreCase(text, stringToBeReplaced, replacement) #Output: Text
Examples
Parser expressionDescription
findReplaceAllIgnoreCase("HellO my love, hELlo my friend.", "hello", "Goodbye")

This example returns 

Goodbye my love, Goodbye my friend.

Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text.
stringToBeReplaced

TEXT

The string that should be replaced.
replacement

TEXT

The replacement for all found substrings matching the stringToBeReplaced.
Output

This function returns a TEXT

If you want to use a regular expression to find the substrings that should be replaced, have a look the the replaceAll() function.

If you want to replace only the first occurence of a substring, have a look at findReplaceFirstIgnoreCase().