# CSV. 出力

# PHP

fputcsv($arr1);

# PowerShell

Export-Csv -Path a.csv

# Ruby

CSV.generate("out.csv", ?,) {|writer|
  writer << ["aaa", "bbb", "ccc", "ddd"]
}
require 'csv'

CSV.generate("out.csv", ?,) {|writer|
  writer << ["aaa", "bbb", "ccc",     "ddd"]
  writer << ["eee", "fff", "ggg,GGG", "hhh"]
}

[ 📩 ご意見 ]