Remove Lines

Deletes multiple lines from the file or text content.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅Yes*

Path of the file to modify

Text

String

✅Yes*

Text content to modify

LineNumbers

String

✅Yes

Line numbers to delete (comma-separated)

*FilePath and Text are mutually exclusive (OverloadGroup) parameters. One of them is used.


➡️OUTPUT

Parameter

Type

Description

IsRemoveLinesSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

RemoveLinesMessage

String

Returns the error information received if the operation fails.

RemoveLinesResult

String


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error (default: No)