Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2024-12

TStrings.Slice: just curious

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

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

Reply by email

Michael Van Canneyt
to Bart
Bart wrote 10 lines
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?

Yes, of course.

Michael.

Reply by email