Table of Contents

Method ReplaceAllText

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ReplaceAllText(ustring, bool, bool, ustring)

Replaces all the text based on the match case.

public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null)

Parameters

textToFind ustring

The text to find.

matchCase bool

The match case setting.

matchWholeWord bool

The match whole word setting.

textToReplace ustring

The text to replace.

Returns

bool

trueIf the text was found.falseotherwise.