Alex: I think this question is for the D.learn newsgroup. This may work: foreach(n, string line; s) writeln(line); > Any idea? n is of a different type, I think. Bye, bearophile