Method ReplaceAllText | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
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
string
The text to find.
matchCase
bool
The match case setting.
matchWholeWord
bool
The match whole word setting.
textToReplace
string
The text to replace.
Returns
true
If the text was found.false
otherwise.