Lubos Pintes: > auto a=" 1 2 3 4 5 " > .split(" ") > .filter!"!a.empty" > .map!"to!int(a)"; > writeln(a); better (untested): auto a = " 1 2 3 4 5 " .split .map!(to!int) .writeln; Bye, bearophile