in reply to substr regex alternative
$string = "hello world"; print $string =~ /^.{6}(.{5})/; [download]