Get Line Count
Returns the total number of lines in the file or text content.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅Yes* | Path of the file to count |
|
| ✅Yes* | Text content to count |
|
| ❌No | Throw exception on error |
*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. |
|
| Total number of lines. |
⬇️MISC
Parameter | Type | Default | Description |
|---|---|---|---|
|
| ❌No | Specifies whether an exception is thrown when the operation fails. The default value is "No". |