[fpc-pascal] ExtractStrings by line in Windows
Bart
bartjunk64 at gmail.com
Thu Nov 4 16:55:02 CET 2021
On Thu, Nov 4, 2021 at 2:52 PM Ryan Joseph via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
> > Maybe use SomeString.Split([LineEnding'], ...)?
> > Split has an overload that takes an array of string as first paramter.
>
> Thanks, I guess I need to use a different way to work on all platforms.
If you cast LineEnding to a string, it should work on all platforms I
guess (since it invokes the overload with the array of string as
separatorlist).
--
Bart
More information about the fpc-pascal
mailing list