FindString (NotesUIDocument - LotusScript®)

Finds the text in any field in a given document.

Note: This method is new with Release 5.

Defined in

NotesUIDocument

Syntax

Call notesUIDocument.FindString(text$ [, wholeword ] [, backwards ] [, caseSensitive ] [, wildCards ] [, accentSensitive ] [, searchDocument ] [, findNext ] [, wrapAround ] [, ignoreDiacritics ])

Parameters

text$

String. The text string that you want to look for.

wholeword

Boolean. Optional. Specify True to match the whole word. Default is True.

backwards

Boolean. Optional. Specify True to search backwards. Default is False.

caseSensitive

Boolean. Optional. Specify True to perform a case-sensitive search. Default is False.

wildCards

Boolean. Optional. Specify True to use wild cards such as (*) in the search. Default is False.

Note: This parameter has no effect but is maintained for backward compatibility.

accentSensitive

Boolean. Optional. Specify True to perform an accent-sensitive search. Default is False.

searchDocument

Boolean. Optional. Specify True to search the current document. Default is True.

Note: This parameter has no effect but is maintained for backward compatibility.

findNext

Boolean. Optional. Specify True to find the next match. Default is True.

Note: This parameter has no effect but is maintained for backward compatibility.

wrapAround

Boolean. Optional. Specify True to perform a wrap search. Default is False.

ignoreDiacritics

Boolean. Optional. Specify True to ignore diacritics. Default is False.

Usage

Performs the equivalent of Edit - Find (CTRL+F or CTRL+G) that is done in the User Interface without prompting the user.

Example