Worked like a charm! Thank you so much!
So, the `split` method splits the “txt” string into parts where ever there is a `\r`, and feeds the resulting parts into an array called “newLines.” And then you subtract 1 from the `.length` of the array (which is the number of lines), giving you the number of line breaks.
Just so I make sure I understand what’s going on here (teach a man to fish and all that), do I have that right?