array_of_strings=:'1 3 5 6',:'2 5 4 7' array_of_strings 1 3 5 6 2 5 4 7 numbers=:"."1 array_of_strings numbers 1 3 5 6 2 5 4 7 +/numbers 3 8 9 13
If the number of numbers in each row varies then the results will be zero-padded to make the length the same. On Sun, Apr 26, 2009 at 5:31 PM, Charles Holder <charles_hol...@hotmail.com> wrote: > > I have read a file of numbers ('01 25 34 ...') into an array of strings. How > do I convert them to an array of numbers. > _________________________________________________________________ > Windows Live™ SkyDrive™: Get 25 GB of free online storage. > http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_042009 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm