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