If you are making a calendar you may find the following of interest:
http://www.jsoftware.com/papers/eem/qq101.htm .  It's APL but the ideas
translate pretty readily into J.



On Wed, Sep 27, 2017 at 8:57 AM, Rudolf Sykora <[email protected]>
wrote:

> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to