REPORTER 22.1

Search and Replace

Search and replace

The search and replace function allows to to search for a text string (or variable) in all objects in the template and replace it with another string (or variable).

For example, you may make a template which contains D3PLOT objects that have the directories hard wired instead of using a variable for the directory. If you want to generalise the template you can use Search and Replace... to replace every instance of the directory name in the template with a variable.




Enter the search and replace strings in the dialog box. You can insert a variable if required by right clicking in the text box and selecting Insert Variable .

Each time REPORTER finds an instance of the string in an object in the template a confirmation dialog will be mapped giving you the option to replace or skip the string. The object will be selected on the screen so you can see which object you are replacing in and a brief text description wil be given for the object and field that you are looking at.

Cancel will abort the search and replace operation. Pressing Yes will do the replace, pressing No will skip this instance. If you want to just replace all instances without confirming each one in turn then press Yes to All .