Previous Page | Next Page

Working in the SAS Windowing Environment

Replacing Character Strings under OpenVMS


Introduction to the Replace Dialog Box

The Replace dialog box enables you to search for and replace character strings in any active SAS text editor window such at the Program Editor, the SCL editor, or NOTEPAD.


Opening the Replace Dialog Box

To replace one character string with another, open the Replace dialog box by completing one of the following steps:

When the Replace dialog box opens, the name of the active window follows the name of the dialog box (for example, Replace...:Program Editor).

The Replace Dialog Box

[Replace Dialog Box]


Description of Options in the Replace Dialog Box

To find a character string, type the string in the Find field, and click Find. To change a character string, type the string in the Find field, type its replacement in the Replace field, and click Replace. To change every occurrence of the string to its replacement string, click Replace All.

You can tailor your find or replace operation by using the following buttons:

Match Case

tells the search to match the uppercase and lowercase characters exactly as you typed them.

Match Word

searches for the specified string delimited by space, end-of-line, or end-of-file characters.

Previous

searches from the current cursor position toward the beginning of the file.

Next

searches from the current cursor position toward the end of the file.

Previous Page | Next Page | Top of Page