b=.chop a
   5!:5 <'b'
<;._1 '|asd dfjgsdlkj|jdsalk asd lfkj|sdj|alk asdf a asd|asfja'
   b, &.> LF
┌──────────────┬────────────────┬────┬───────────────┬──────┐
│asd dfjgsdlkj │jdsalk asd lfkj │sdj │alk asdf a asd │asfja │
└──────────────┴────────────────┴────┴───────────────┴──────┘
   ;b, &.> LF
asd dfjgsdlkj
jdsalk asd lfkj
sdj
alk asdf a asd
asfja


2011/11/10 Skip Cave <[email protected]>

> allnd is a boxed text array. The following function moves that array into a
> text file and save that file on my disk.
>
> (5!:5 <'allnd') 1!:2 <'c:\test1\allnd.txt'
>
> However, the text file has all of the boxed text strings separated by a '|'
> character.
> How can I save the text file with line feeds in the file, instead of the
> vertical bar character?
>
> Skip
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to