Thanks.
Well, my question was about how many times the "LineEnding" was added to my string variable.
Seems straight forward to me,... :o
Create a Stringlist, set the text property from that unknown string
and after that, you can use the COUNT property in the stringlist to determine number of (quantity) Line Endings..
I suppose one could also use Slip specifying the line ending.
etc
Of course you do need to determine what kind of line ending you have, for that you can use the POS to experiment with the line ending pairs to see what you have on the first line.
Well, my question was about how many times the "LineEnding" was added to my string variable.
Yeah, don't use my hacked code of only 3 lines or so, instead use code that turns into a full page on the screen