hi,
is there any way to get the index for an element when iteration
using each!(x)?
I know I can do this using foreach statement, but I prefer using
the each template.
-----------
string s = "hello";
foreach(i, c; s) {
}
----------
how can I get to ?
Thanks!
binghoo dang