It's documented under 'more information' in NuVoc:
https://code.jsoftware.com/wiki/Vocabulary/quotedot#dyadic

I imagine the *how* of finding it is reaching for monadic ".
and then being dissatisfied with it, through a process like

1. I want to receive a string and turn it into a number.

   ".'123'
123

2. Oh, but that's evaluates anything, I don't want *that*!

   ".'shell ''head -1 /etc/passwd'''
root:x:0:0:root:/root:/bin/bash

3. Maybe the docs for ". recommend some other verb to use?

On 2021-02-18 09:29, R.E. Boss wrote:
Well, both your advices work as predicted.
I did not think readcsv would handle the double quotes in an
appropriate way, but that I didn't try it is worse.
And 0&". is a superb trick, where did you find that?
Thanks.


R.E. Boss


-----Original Message-----
From: Programming <[email protected]> On Behalf
Of Ric Sherlock
Sent: donderdag 18 februari 2021 14:38
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] csvedit

Actually 0&". Seems to convert number strings containing commas OK.

   0 ". > '123,555';'253,562.26'
123555 253562
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to