LOTUSSCRIPT/COM/OLE CLASSES

FindAndReplace method
Example

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

NotesRichTextRange

Syntax

count& = notesRichTextRange.FindAndReplace( target$ , replacement$ , [ options& ] )

Parameters

target$


replacement$
options$ Return value

count&


Usage

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).

Language cross-reference

findAndReplace method in Java RichTextRange class

Example