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
textToFindstringThe text to find.
matchCaseboolThe match case setting.
matchWholeWordboolThe match whole word setting.
textToReplacestringThe text to replace.
Returns
- bool
trueIf the text was found.falseotherwise.