LOTUSSCRIPT/COM/OLE CLASSES


FindFirstString method
Example

Moves the current position to the beginning of the first occurrence of a string in a rich text item.

Defined in

NotesRichTextNavigator

Syntax

flag = notesRichTextNavigator.FindFirstString( target$ [ , options& ] )

Parameters

target$


options$ Return value

flag

Usage

For purposes of identity, this method finds an element of type RTELEM_TYPE_TEXTSTRING. You can use the NotesRichTextRange methods SetBegin and SetEnd on the navigator to delineate the string.

Language cross-reference

findFirstString method in Java RichTextNavigator class

Example