Qvera: Getting rid of quotes from a CSV file

When creating a .csv file in Qvera, the message has double quote text delimiters by default.  If you are seeding your message from a SQL query for example, the values will be surrounded by double qotes.

"PatientID","PatientName","DOB","Etc","Etc"

You can reformat the message by saving the message to a temporary variable, and reformatting it using createCSVMessage to put it back as follows:

var currentMessage = message.getNode('/');
message = qie.createCSVMessage(false, '"', ',', 'UTF-8', true);
message.setNode('/', currentMessage);