This function replaces the first occurrence of a given text with a given replacement. |
findReplaceFirst(text, textToBeReplaced, replacement) #Output: Text |
|
Parameters used in this function
|
This function returns a |
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(). |
|