FindFirstString (NotesRichTextNavigator - LotusScript®)
Moves the current position to the beginning of the first occurrence of a string in a rich text item.
Defined in
Syntax
flag = notesRichTextNavigator .FindFirstString( target$ [ , options& ] )
Parameters
target$
String. The search string.
options$
Long. Any of the following. Specify multiple options by combining them with addition or logical ORs.
- RT_FIND_ACCENTINSENSITIVE (4) (default is accent sensitive)
- RT_FIND_CASEINSENSITIVE (1) (default is case sensitive)
- RT_FIND_PITCHINSENSITIVE (2) (default is pitch insensitive)
Return value
flag
Boolean.
- True if the string exists and the current position is reset.
- False if the string does not exist and the current position is not reset.
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.