| Working in the SAS Windowing Environment |
| 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 windows such at the Program Editor, the SCL editor, or the 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).![[Replace Dialog Box]](images/replace.gif)
| Description of Options in the Replace Dialog Box |
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 by using the following buttons:
tells the search to match the uppercase and lowercase characters exactly as you typed them.
searches for the specified string delimited by spaces, end-of-line characters, or end-of-file characters.
searches for the specified string from the current cursor position toward the beginning of the file.
searches for the specified string from the current cursor position toward the end of the file.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.