How to iterate over range two items at a time

Adnan relay.public.adnan at outlook.com
Mon Feb 17 05:04:02 UTC 2020


What is the equivalent of Rust's chunks_exact()[1] method in D? I 
want to iterate over a spitted string two chunks at a time.


[1] 
https://doc.rust-lang.org/beta/std/primitive.slice.html#method.chunks_exact


More information about the Digitalmars-d-learn mailing list