Or spaces, going directly to numbers without an intermediate boxed string representation:
a.i.' .' 32 46 0 ".(- 14 * 46 = ])&.(a.&i.) '192.168.1.1' 192 168 1 1 -- Raul On Fri, Nov 18, 2011 at 12:08 PM, Brian Schott <[email protected]>wrote: > Another approach would be to replace Dots with Semi's which can be > executed to produce boxes. > > cs=: {&(';',a.)&(('.',a.)&i.) NB. replaces Dot's with Semi's in strings > cs '192.168.1.1' > 192;168;1;1 > ".@cs '192.168.1.1' > +---+---+-+-+ > |192|168|1|1| > +---+---+-+-+ > > > Like Raul, I have had no success with K, but guess that it is powerful, > too. > > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
