2013-04-30 stringのフォーマット string.Format("foo{0}bar", 3) // => 'foo3bar' string.Format("{0} × {1} = {2}", 3, 4, 3 * 4); // => '3 × 4 = 12'