>>573
例えばこんなのはいかが?

s = "あいうえおかきくけこ"
x = /^.{5}/e.match( s ).to_s
puts( x )

s = "あいうえおかきくけこ"
x = s.scan( /^.{5}/e ).first
puts( x )