in reply to How do I print only some letters of this string
while (<DATA>) { print substr($_, 0, 100); } [download]