if( length($lRow) > 1000 ) { $lRow = substr($lRow, 0, 1000); $lRow =~ s/(?<=\.)[^.]*$//; } [download]
In reply to Re: Truncating Last Sentence by sacked in thread Truncating Last Sentence by FatDog