Replacing Text

AutoCAD AutoLISP & Visual LISP

 
Replacing Text
 
 
 

The Search menu contains a Replace function that is used to replace the search text with a text string that you specify.

The Replace dialog box is similar to the Find dialog box, but with fewer options. It contains an additional Replace With entry field, in which you specify the text you want VLISP to substitute for the search text. Specify the search text in the Find What field.

You can take the following actions from the Replace dialog box:

  • Press Find Next to find the next occurrence of the search string.
  • Press Replace to replace the found text with the replacement string.

    If you don't want to replace this occurrence of the text, press Find Next to search for the next occurrence of the text, or Cancel to end the search.

  • Press Replace All to replace all occurrences of the search string with the replacement string.
  • Press Cancel to end the Replace function.