文字列を特定の文字で分割して配列に入れる

Javascript (node.js)

array = ['a', 'b', 'c'];
console.log(array.join());

Perl

use Data::Dumper;
my $str = "a,b,c";
print Dumper split(',', $str);

PHP

<?php
$str = 'a,b,c';
var_dump(explode(',',$str));

Python

str = "a,b,c"
print(str.split(","))

Ruby

str = "a,b,c"
print(str.split(","))