Remove Lines
Deletes multiple lines from the file or text content.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅Yes* | Path of the file to modify |
|
| ✅Yes* | Text content to modify |
|
| ✅Yes | Line numbers to delete (comma-separated) |
*FilePath and Text are mutually exclusive (OverloadGroup) parameters. One of them is used.
➡️OUTPUT
Parameter | 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) |