On Thu, Nov 4, 2021 at 2:52 PM Ryan Joseph via fpc-pascal
<fpc-pascal@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to