Selected elements from splitter output

Chris Piker chris at hoopjump.com
Wed May 5 00:59:07 UTC 2021


On Tuesday, 4 May 2021 at 22:02:11 UTC, Ali Çehreli wrote:
> On 5/4/21 1:40 PM, Chris Piker wrote:
>
> > I only care about columns 0, 2, 3, 4, 8, 9, 10.
>
> That's std.range.stride.
>
> > char[][] wanted = string_range.get( [1, 5, 7] );  //
> pseudo-code element
>
> That's std.range.indexed.

Hey Thanks!

And even more, thanks for the book.  It's very well organized.  I 
keep a paper copy of "Programming in D" open on my desk all the 
time these days.  Looking forward to getting a few copies for 
work once we're back in the office.



More information about the Digitalmars-d-learn mailing list