Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library English > module Kernel > $FIELD_SEPARATOR

variable $FIELD_SEPARATOR

$FS [added by English]
$FIELD_SEPARATOR [added by English]

$; の別名

require "English"

str = "hoge,fuga,ugo,bar,foo"
p str.split #=> ["hoge,fuga,ugo,bar,foo"]
$FIELD_SEPARATOR = ","
p str.split #=> ["hoge", "fuga", "ugo", "bar", "foo"]