Text File Editing steps
This group of steps allows you to edit simple text files.
Insert Line
This step inserts a single line of text in a text file at any specified place.
Parameter | Description |
---|---|
Position | Defines the number of the line (starting at 1) where the new line is to be inserted. |
Line | Contains the entire text string to be added to the file. |
Source Path | The relative or absolute path, the URL or an environment variable of the file to which a single line is to be added. |
Delete Line
This step deletes any single line from a text file.
Parameter | Description |
---|---|
Position | Defines the number of the line (starting at 1) to be deleted. |
Source Path | The relative or absolute path, the URL or an environment variable of the file from which a line is to be deleted. |
Add Line
This step adds a single line to the end of a text file.
Parameter | Description |
---|---|
Line | The entire text string to be added to the file. The line is automatically added in either UNIX or DOS format and also add a CRLF at the end. |
Source Path | The relative or absolute path, the URL or an environment variable of the file to which a line is to be added. |