Table of Contents

Method ReplaceAllText

Namespace
Terminal.Gui
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

bool

trueIf the text was found.falseotherwise.