1.0.1 • Published 5 years ago
fwf-to-csv v1.0.1
fwf_csv
convert fixed-width-formatted txt to csv
this pakage export function which takes 3 arguments 1)input fwf filepath 2)outut file path with name and csv extension 3)ranges of headers in txt file(in array)
example
fix-weidth- column ranges RANGES=[0,25,30,40,60,100] 0-25 = first column character range 30-40 = second column character range 60-100 = third column character range
fwf_csv('./abc.txt','./out.csv',RANGES)