currently presented with data can ingest a csv file..
Currently data is all in one column but need to split the data below into sperate columns currently a space indicates its a new column and char count for each col may be a good way to distinguish separation? tried using sv/ssr but getting errors. Will also need to account for sometimes columns being empty.
(`$( ssr[;" ";""] each x . (::;0)))
Current 1 row per ""
"EEEE 00000Z AUTO 0000KT 1234 SA 0VC000 0504 Q111 COL RE"
"EAAA 00000Z AUTO 0000KT RA 0VC000 Q111 COL RE"
any pointers would be helpful
Unsure if ssr is the right operator or if sv would be better in this case?
(`$( ssr[;" ";""] each x . (::;0)))
Desired output is
Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 Col10 Col11
EEEE 00000Z AUTO 0000KT 1234 SA OVC000 0504 Q111 COL RE
EAAA 00000Z AUTO 0000KT RA 0VC000 Q111 COL RE