Re: [fpc-devel] TStrings.Slice: just curious

2024-12-18 Thread Michael Van Canneyt via fpc-devel
On Tue, 17 Dec 2024, Bart via fpc-devel wrote: Hi, We have: Procedure TStrings.Slice(fromIndex: integer; aList : TStrings); (and a similar function) I can figure scenario's where also an EndIndex would come in handy: Procedure TStrings.Slice(fromIndex, EndIndex integer; aList : TStrings);

[fpc-devel] TStrings.Slice: just curious

2024-12-17 Thread Bart via fpc-devel
Hi, We have: Procedure TStrings.Slice(fromIndex: integer; aList : TStrings); (and a similar function) I can figure scenario's where also an EndIndex would come in handy: Procedure TStrings.Slice(fromIndex, EndIndex integer; aList : TStrings); Would such be acceptable to add? -- Bart __