[fpc-pascal] ExtractStrings by line in Windows

Hairy Pixels genericptr at gmail.com
Wed Nov 3 13:19:47 CET 2021


On Mac I had used ExtractStrings([LineEnding], [], str, list); to split a
string by line but on Windows LineEnding is 2 chars long so the char
set parameter doesn't work.

What  is the solution to this on Windows?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20211103/a2cb9d5b/attachment.htm>


More information about the fpc-pascal mailing list