On Wed, Nov 3, 2021 at 1:57 PM Hairy Pixels 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. -- Bart