JAVA/CORBA 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

RichTextNavigator

Syntax

public boolean findFirstString(String target)
   throws NotesException

public boolean findFirstString(String target, int options)
   throws NotesException

Parameters

String target


int options Return value

boolean

Usage

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

Language cross-reference

FindFirstString method in LotusScript NotesRichTextNavigator class

Example
See Also