The Find and Replace dialog boxes (Display 2.10 on page 47) enable you to search for and replace strings in SAS text editor windows such as the Program Editor, the SCL editor, or the Notepad.
To search for a string, open the Find dialog box by issuing the DLGFIND command or by selecting
Edit – Find
The Find dialog box works like the Replace dialog box, except it does not have the Replace field or the Replace and Replace All buttons .
For a description of the options on the Find Dialog Box, see "Description of the Replace Dialog Box Options" on page 47.
To replace one text string with another, open the Replace dialog box by issuing the DLGREPLACE command or by selecting
Edit – Replace
To find a character string, type the string in the Find field, and select Find . To change a character string, type the string in the Find field, type its replacement in the Replace field, and select Replace . To change every occurrence of the string to its replacement string, select Replace All .
You can tailor your find or replace operation using the following buttons:
Match Case
tells the search to match the uppercase and lowercase characters exactly as you entered 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.