Replace Line
Replaces the given line with the existing line at the entered line number.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅Yes* | Path of the file to modify |
|
| ✅Yes* | Text content to modify |
|
| ✅Yes | New line content |
|
| ✅Yes | Line number to replace |
|
| ❌No | File encoding |
➡️OUTPUT
Name | Data Type | Description |
|---|---|---|
|
| Returns "True" if the operation succeeds, "False" if it fails. |
|
| Returns the error information received if the operation fails. |
|
|
⬇️MISC
Parameter | Type | Default | Description |
|---|---|---|---|
|
| ❌No | Throw exception on error (default: No) |