Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

5.19 Find and Replace

A key word can be found and/or replaced by selecting Find /Replace from the Edit menu, or by pressing the Ctrl + F keys, or by clicking on the toolbar.

Finding a key word

To find a key word:

  1. Select "Edit" > "Find/Replace..." from the menu bar. The "Find/Replace" dialog box appears.

  2. Enter the key word.

  3. Click on the "Find" button. If the key word is found, it is highlighted in the editor window.

Replacing a character string

To replace a character string:

  1. Select "Edit" > "Find/Replace" from the menu bar. The "Find/Replace" dialog box appears.

  2. Enter the search target character string in the "Find" field, and the replacement character string in the "Replace with" field.

  3. Click the "Replace" button to replace text that has been found.

The items in the "Find/Replace" dialog box are as follows:

Item

Description

Forward

A downward (forward) search is performed starting from the current cursor position.

Backward

An upward (backward) search is performed starting from the current cursor position.

All

The entire file is searched.

Select lines

The selected range in the file is searched.

Case sensitive

Uppercase and lowercase letters are treated as different characters in a key word search.

Wrap search

The search operation is performed until it reaches the end of the file, and then it continues at the start of the file. The search operation is repeated cyclically until it is canceled.

Whole word

The search target is a word that exactly matches the key word.

Incremental

The cursor is positioned at a matching character string in the file as soon as each character in a character string search target is entered.

Regular expressions

The specified key word is assumed to be a regular expression.