in reply to RE: RE: clearer code
in thread clearer code
In this case, though, when you know you want to get rid of 129 characters, substr will definitely be faster. Something like: substr $text, 0, 129, ''; (oops, it *should* be length and not offset. Thanks btrott!)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: clearer code
by btrott (Parson) on Apr 19, 2000 at 20:34 UTC |