Groovy EPBCS - 3 double quotes is encountered in CSV file when concatenated with double quotes
Hi guys,
We have a variable years_m in which we are concatenating double quotes as below
years_m = '"'+cell.getMemberName("Years")+'"'
And the variable is passed to out.writeNext in CSVWriter
out.writeNext "${years_m}"
On checking the CSV output in Notepad++, it is observed that the year is being enclosed in 3 double quotes but not in 2 double quotes as shown in the below image.
Is there any possibility of getting the ouput only in 1 double quotes (Ex: "Future Years" )?
Your inputs are highly valluable to us!!!!! Thanks a ton in Advance.
Tagged:
0