CHANGE
CHANGE changes a string in the file.
Operands
- string1
- specifies the string being replaced.
- string2
- specifies the string that replaces string1.
- ALL
- is a keyword indicating that all occurrences on all lines, from the current line, to the end of the file, are changing.
- /
- is the delimiting character.
Return codes
- 0
- Normal return
- 202
- Invalid operand
- 210
- Request failed
- 223
- Search argument not found
Example
'CHANGE /noeditor/editor/'
This example replaces the first occurrence of noeditor with editor.
Note
The CHANGE command respects the sensitivity settings of the editor when locating string1 and when changing string2 as defined by the CASE command or the system default.
