Method ReplaceAllText
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
ustringThe text to find.
matchCase
boolThe match case setting.
matchWholeWord
boolThe match whole word setting.
textToReplace
ustringThe text to replace.
Returns
- bool
true
If the text was found.false
otherwise.