# 1.9 kanji split

e\$BEOJUE/Li\$G\$9!#e(B

e\$B4A;z\$NJ8;zNs\$re(B split e\$B\$9\$k\$HJQ\$K\$J\$C\$F\$\$\$k\$h\$&\$G\$9!#e(B

ruby 1.9.0 (2008-09-30 revision 19642) [i686-linux]

## e\$B:F8=%9%/%j%W%He(B

a = []
a[0] = ‘e\$B\$"\$\$\$&\$(e(B’
a[1] = ‘e\$B\$+\$-\$/\$1e(B’

j = a.join(’ / ')
p j

p j.split(’ / ')

a = []
a[0] = ‘abcd’
a[1] = ‘efgh’

j = a.join(’ / ')
p j

## p j.split(’ / ')

e\$B<B9T7k2Le(B

e\$B\$^\$D\$b\$He(B e\$B\$f\$-\$R\$m\$G\$9e(B

In message “Re: [ruby-dev:36641] 1.9 kanji split”
on Tue, 30 Sep 2008 23:53:25 +0900, “WATANABE Tetsuya”
[email protected] writes:

|e\$BEOJUE/Li\$G\$9!#e(B

e\$B\$*5W\$7\$V\$j\$G\$9!#e(B

|e\$B4A;z\$NJ8;zNs\$re(B split e\$B\$9\$k\$HJQ\$K\$J\$C\$F\$\$\$k\$h\$&\$G\$9!#e(B

e\$BJ8;zNs\$G\$Ne(Bsplite\$B\$rFCJL07\$\$\$7\$?;~\$K%P%0\$rF~\$l\$A\$c\$C\$?\$h\$&\$G\$9!#e(B
e\$B\$5\$C\$=\$/D>\$7\$^\$9!#e(B

e\$B\$^\$D\$b\$H\$5\$s\$Xe(B

e\$BEOJUE/Li\$G\$9!#e(B

ruby 1.9.0 (2008-10-01 revision 19651) [i686-linux]

e\$B\$K\$F!“=\$@5\$r3NG’\$7\$^\$7\$?!#\$”\$j\$,\$H\$&\$4\$6\$\$\$^\$9!#e(B

e\$B\$3\$A\$i\$3\$=!"\$*5W\$7\$V\$j\$G\$9!#e(B

e\$B\$3\$s\$J\$H\$3\$m\$G6a67\$r=q\$\$\$F\$7\$^\$\$\$^\$9\$,!"e(B
Rubye\$B\$OKhF|;H\$C\$F\$\$\$^\$9!#e(Btrunke\$B\$N%3%s%Q%\$%k\$b\$=\$3\$=\$3e(B
e\$B<B;\$7\$F\$\$\$^\$9!#e(B
e\$B\$?\$@:#8ee(BHP-UXe\$B\$G\$N%3%s%Q%\$%k\$O\$G\$-\$J\$/\$J\$j\$=\$&\$G\$9!#e(B

2008/10/01 0:56 Yukihiro M. [email protected]: