findFirstString (RichTextNavigator - Java™)

現在位置をリッチテキストアイテム内で最初のストリング出現位置の先頭に移動します。

定義位置

RichTextNavigator

構文

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

パラメータ

String target

検索文字列。

int options

次のいずれかです。複数のオプションを指定するには、加算または論理 OR を使用してオプションを組み合わせます。

戻り値

boolean 型

使用法

識別のために、このメソッドは RTELEM_TYPE_TEXTSTRING 型の要素を検索します。ナビゲータで RichTextRange メソッドの setBeginsetEnd を使用して、文字列を表すことができます。

クロスリファレンス

LotusScript® NotesRichTextNavigator クラスの FindFirstString メソッド