rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library

Cookbook

Quick replace

Start search Mail feedback Back to Description


rtItem

replace (rtCollection) replace (rtItem) Replace (rtContainer) update

Code fragment from sample "Quick replace"; see full running samples in downloadable help.
Dim rti as rtItem

notReplace
= True

set rti = new rtItem (doc,"Body")
rti.replace {a}, {<Litera A minuscule>}, RT_REPLACE_ALL,0,0,0
rti.replace "minuscule", {lowercase}, RT_REPLACE_ALL,0,0,0
rti.update

set docDump = doc