csv-fortran icon indicating copy to clipboard operation
csv-fortran copied to clipboard

Set delimiter when reading csv

Open RJaBi opened this issue 1 year ago • 0 comments

Now allows read_csv_file to accept a single character delimiter analogous to initialize

I.e.

type(csv_file) :: f
call f%read('test.csv',header_row=1,status_ok=status_ok, delimiter='A')

The default is of course still ',' as it only updates the delimiter if delimiter is present in the call to read.

RJaBi avatar Oct 14 '24 15:10 RJaBi