You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!