$lineCount
The$lineCount operator counts the number of lines in a string.
Input
- A single string value
Output
- The number of lines in the input string (counting newline characters)
Examples
Count Lines in Multi-line String
3
Count Lines in Single Line
1
Count Lines in Empty String
0

