Method FindNextText
FindNextText(string, out bool, bool, bool, string?, bool)
Find the next text based on the match case with the option to replace it.
public bool FindNextText(string textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, string? textToReplace = null, bool replace = false)
Parameters
textToFind
stringThe text to find.
gaveFullTurn
booltrue
If all the text was forward searched.false
otherwise.matchCase
boolThe match case setting.
matchWholeWord
boolThe match whole word setting.
textToReplace
stringThe text to replace.
replace
booltrue
If is replacing.false
otherwise.
Returns
- bool
true
If the text was found.false
otherwise.