This function replaces the first occurrence of a given text with a given replacement.
Syntax
findReplaceFirst(text, textToBeReplaced, replacement) #Output: Text
If you want to use a regular expression instead, have a look at replaceFirst().
If you want to replace all occurences of a substring, have a look at findReplaceAll().
Use cases and examples
Use case |
---|
No content found. |