If your four dimensional array a contains a vector in each cell then
load 'strings'
str =: ('_';'-')& stringreplace
str each a
should do what you want.
It may not be quicker.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
