Extracting data slice from an array

In reply to verif_learner:

There’s always a for-loop.