Reply to BCS, This reminds me of something I have been finding handy recently: //take a slice starting at i and of length j: arr[i..$][0..j] the alternative is a bit uglier IMHO arr[i..i+j]