fast-excel icon indicating copy to clipboard operation
fast-excel copied to clipboard

export with \t instead of ","

Open sameer1750 opened this issue 3 years ago • 2 comments

Hello, Is it possible to export csv with \t instead of "," as field seperator. I tried configure csv but it throws error like "character"

sameer1750 avatar Aug 26 '21 12:08 sameer1750

Hi @sameer1750 thank you for your contribution. Could you share the full error message?

rap2hpoutre avatar Sep 29 '21 08:09 rap2hpoutre

Try this solution: return (new FastExcel($rows))->configureCsv("\t", "'")->download('file.csv');

adonaidiofanes avatar Jun 28 '23 12:06 adonaidiofanes