Note that this as well as most of the others assume there is at least one period in the string (else the matches will fail).if ( length($lRow) > 1000 ) { $lRow =~ s/(.{1,999}\.).*/$1/ };
-enlil
In reply to Re: Truncating Last Sentence
by Enlil
in thread Truncating Last Sentence
by FatDog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |