chop
|value error: chop
JVERSION
Engine: j701/2011-01-10/11:25
Library: 7.01.050
Platform: Win 32
Installer: j701a_win.exe
InstallPath: c:/users/kip murray/j701
On 11/10/2011 12:49 PM, Björn Helgason wrote:
> 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
>>
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm