Hello All,
Unfortunately sometimes I get double quotes (") in my data (from Windows Event
Log, for example).
I can't find my way to put it into a wd table control. Doubling the double
quotes does not work as it is reserved for a missing value.
NB. deb from the stdlib
dat0=:deb,>('"one"';'"two"';'"three"') ,.3j0": each <"(0) i.3wd'pc test' NB.
ok
dat1=:deb,>('"one"dq"';'"two"';'"three"') ,.3j0": each <"(0) i.3wd'pc test' NB.
not ok
dat2=:deb,>('"one"';'"two""dq"';'"three"'),.3j0": each <"(0) i.3wd'pc test' NB.
not ok
wd 'cc pac table 3 2'
wd 'set pac data ',dat0
wd 'set pac data ',dat1
wd 'set pac data ',dat2
I could of course change the double quote to something else but it would be
nice to preserve the original data in the table.
esa
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm