JAVA/CORBA CLASSES
Replaces the next occurrence of a string in a rich text range, and moves the current position to the beginning of the first occurrence of the string.
Defined in
RichTextRange
Syntax
public int findandReplace(String target, String replacement) throws NotesException
public int findandReplace(String target, String replacement, long options) throws NotesException
Parameters
String target
int
For purposes of navigation, this method finds an element of type RTELEM_TYPE_TEXTRUN. The current position becomes the first character of the search string within the element (not the first character of the element).
The range is reset after a findAndReplace operation.
Language cross-reference
FindAndReplace method in LotusScript NotesRichTextRange class
Example See Also