Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can we skip some header lines from a text file, say with some report header (My Project Budget)?

0
Posted

How can we skip some header lines from a text file, say with some report header (My Project Budget)?

0

Text supports to skip some comment lines before csv header and data rows. If you use n (integer values), the first n lines will be ingored as comment. If you use some paragraphs, these paragraphs will be used for csv file creation, the total line number of comment will be used for existent file. For instance: Properties props=new Properties(); props.put(“_CSV_Comment”,”3″); //Or props.put(“_CSV_Comment”,”Product report for FY 1996\r\n- – – – – – – – – – – – \r\n\r\n”); Connection con DriverManager.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123