2011-04-11 javascriptで文字列を分割 javascript var record = 'aaa,bbb,ccc'.split(/,/); // => ['aaa', 'bbb', 'ccc']ネタ元 http://d.hatena.ne.jp/gifnksm/20100131/1264934942