Snippets has posted 5883 posts at DZone. View Full User Profile
Formats a list/array as a string suitable for one row of a CSV file
items.map! do |item|
if item.is_a?(String) and item =~ /[",]/
'"' + item.gsub(/"/, '""') + '"'
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...