Given a set of boxed literal strings: *]a=.'Now is the time';' for all';' good men to come to ';'the aid of their country'*
*┌───────────────┬────────┬─────────────────────┬────────────────────────┐* *│Now is the time│ for all│ good men to come to │the aid of their country│* *└───────────────┴────────┴─────────────────────┴────────────────────────┘* I can remove all the blanks: *a#~ each -. each ' '= each a* *┌────────────┬──────┬───────────────┬────────────────────┐* *│Nowisthetime│forall│goodmentocometo│theaidoftheircountry│* *└────────────┴──────┴───────────────┴────────────────────┘* So I try to write a 'delete all blanks' (dab) verb: *dab =. 3 :'y#~ each -. each ' '= each y'* *|noun result was required* *| y#~each-.each* What is going wrong? Skip Cave Cave Consulting LLC ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm