Method ReplaceAllText
ReplaceAllText(string, bool, bool, string?)
Replaces all the text based on the match case.
public bool ReplaceAllText(string textToFind, bool matchCase = false, bool matchWholeWord = false, string? textToReplace = null)
Parameters
textToFind
stringThe text to find.
matchCase
boolThe match case setting.
matchWholeWord
boolThe match whole word setting.
textToReplace
stringThe text to replace.
Returns
- bool
true
If the text was found.false
otherwise.