Hello

I am looking for a shorter and more elegant way to do the following given a
string t:

   t=. 0 :0

abc

defg

hijkl

erws

opqow


sdfsdf

dofi

)

   ,&:>/ ,(,.~ ('A:';'B:') $~ #) ,.<;. 2 t

A:abc

B:defg

A:hijkl

B:erws

A:opqow

B:

A:sdfsdf

B:dofi
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to