$str=~s/.{8}/$&\n/g; [download]
In reply to Re: 8 in a line... by waldner in thread 8 in a line... by heidi