Update: Fixed (twice) according to merlyn's correction(s).sub foo{($_[0]=~/^(.+[!?.]\s)/s)?$1:$_[0]}
In reply to Re: Truncate a string (news lead?)
by premchai21
in thread Truncate a string (news lead?)
by mountd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |