I'd probably go with (;".)&>/'abc';'13.2' or, (;".)&;/'abc';'13.2'
-- Raul On Tue, Feb 21, 2023 at 11:08 PM Gilles Kirouac <g1...@myriade.ca> wrote: > > I have two character strings : > > datatype each 'abc';'13.2' > ┌───────┬───────┐ > │literal│literal│ > └───────┴───────┘ > > I want to convert the second one into numerical data > > datatype each (<@:])`(<@:".)"1 >'abc';'13.2' > ┌───────┬────────┐ > │literal│floating│ > └───────┴────────┘ > > Can you simplify the above expression? > > > ~ Gilles > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm