Hello,

I have an array of integers

 0  0  0  0  0  0  1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31  0  0  0  0  0

and I want to have it printed (to a string, say) without
the zeros. I.e, I want to replace each isolated 0 with a space.
How can I do it?

Thanks
Ruda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to