12-10-2019 02:24 AM
Hello,
I'm a begginer. I'm working on appliction, where I have a string indicator with concatenated messages. Each line ends with CRLF. I don't want to display all these messages on front panel, but only 10 last lines (10 new lines). How could I do that?
12-10-2019 05:52 AM
12-10-2019 06:53 AM
This works, but it's critical to know if all the lines (incl. the last one) end with \r\n or not.
If the string gets long (like the file) you'll need other strategies.