Working in the SAS Windowing Environment |
What Are the Find and Replace Dialog Boxes? |
The Find and Replace dialog boxes enable you to search for and replace strings in SAS text editor windows such as the Program Editor, the SCL editor, or Notepad.
Open the Find Dialog Box |
To search for a string, open the Find dialog box by issuing the DLGFIND command or by selecting Edit Find.
Description of the Find Dialog Box Options |
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 in the Find dialog box, see Description of the Replace Dialog Box Options.
Open the Replace Dialog Box |
To replace one text string with another, open the Replace dialog box by issuing the DLGREPLACE command or by selecting Edit Replace.
Description of the Replace Dialog Box Options |
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 using the following buttons:
tells the search to match the uppercase and lowercase characters exactly as you entered them.
searches for the specified string delimited by space, end-of-line, or end-of-file characters.
searches from the current cursor position toward the beginning of the file.
searches from the current cursor position toward the end of the file.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.