This is interesting, but not something that would come first to my mind. The length error is because
$'cc' 2 $list 3 So to make arguments agree in length, (<'cc') ,each list 'cc' ,each&boxopen list > From: Joey K Tuttle <[EMAIL PROTECTED]> > > Close - try > > 'cc'&, each list > > > > At 11:20 -0700 2008/07/20, unigee wrote: > >hi, im learning myself J and come into a slight problem I don't know how to > >solve > > > >im trying to append some characters to a list of strings > > > >list=. 'aa' ; 'bbb' ; 'randomdata' > > > >now i want to add 'cc' to each item in list, so the result would be > >'ccaa' 'ccbbb' 'ccrandomdata' > > > >I thought this would be it > >'cc' , each list > > > >but that produces an length error > > > >can someone please point me in the right direction? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
