JAVA/CORBA クラス


findandReplace メソッド
例

リッチテキスト範囲内の次の文字列を置換し、現在の位置を最初の文字列の先頭に移動します。

定義が行われるクラスRichTextRange
構文public int findandReplace(String target, String replacement)
throws NotesException

public int findandReplace(String target, String replacement, long options)
throws NotesException

パラメータString target


String replacement
long options 戻り値int 型
使用法ナビゲーションのために、このメソッドではタイプ RTELEM_TYPE_TEXTRUN の要素が検索されます。現在の位置は、要素の最初の文字ではなく、要素内の検索文字列の最初の文字になります。
findAndReplace 操作を行った後の範囲は、reset です。

クロスリファレンスLotusScript NotesRichTextRange クラスの FindAndReplace メソッド
例
関連項目