2009-08-13から1日間の記事一覧
3行目の数字はほかのデータと一致する。 The figure in line three corresponds with the other data.
The researchers couldn't replicate the results of their first experiment. その研究者たちは、最初の実験の結果を再現できなかった。
rubyのbreakは内側のループを 抜けられる。
8/13 321
rubyのStringクラスのsplit関数 (String#splitを書くそうだ..。) セパレートした文字列を区切る関数カンマ区切りでは a="1,2,3,4,5" b=a.split(/\s*,\s*/) puts b[3] 関数内の正規表現の部分は、\sが空白文字。[ \t\n\r\f] と同じ。 「コメジルシ」が0回以上…