go ahead... be a heretic | |
PerlMonks |
Re: Smart Substringsby elusion (Curate) |
on Apr 03, 2001 at 03:54 UTC ( [id://69152]=note: print w/replies, xml ) | Need Help?? |
I would do it like this: To split between words and add .. I'd use: This assumes you want a string 15 chars long + the "...", if there's not a space in the 15 chars it chops it there anyways. - p u n k k i d
In Section
Seekers of Perl Wisdom
|
|