This function replaces the first occurrence of a given substring with a given replacement. |
findReplaceFirst(text, stringToBeReplaced, 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(). |
|
|