in reply to truncating a line
$line =~ /^(.{0,17})/; print "$1\n";
If that's a rehash, then please let me know. I think it's close to BrowserUK's answer, but they have an if that mine doesn't. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: truncating a line
by tilly (Archbishop) on Jul 01, 2003 at 16:18 UTC | |
by svsingh (Priest) on Jul 01, 2003 at 20:27 UTC |