Keep It Simple, Stupid | |
PerlMonks |
Re^2: In search of a better way to trim string lengthby Vennis (Pilgrim) |
on Jul 19, 2004 at 12:19 UTC ( [id://375530]=note: print w/replies, xml ) | Need Help?? |
Though only the first line is 30, and the rest is 31 chars, i think it's more or less doing what you search for ? It also makes sure strings that are exact 30 length dont have dots added. I just saw Jaspers solution, it's a bit different, i thought i post it anyway.
Addition:
In Section
Seekers of Perl Wisdom
|
|