On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
For the record duplicate spaces are irrelevant.
Ok -- not that it's possible that your file is a fixed width field file. If that's the case, spaces aren't really a delimiter -- for the general case you need to determine the field widths and split on that. For example, let's say your column are split at columns 11, 15, 24, 34, 44, and 58. One approach to parsing a line might be: ((11 15 24 34 44 58 +/[EMAIL PROTECTED] [EMAIL PROTECTED]) </. ]) If you don't care about blank lines you can use cutopen to split the lines of the file: ((11 15 24 34 44 58 +/[EMAIL PROTECTED] [EMAIL PROTECTED]) </. ])@>@cutopen Or, if you do care about blank lines (and can guarantee that the last line of the file is a newline character), you might use something like this: ((11 15 24 34 44 58 +/[EMAIL PROTECTED] [EMAIL PROTECTED]) </. ]);._2 -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
