in reply to why is substr behaving odd?

If there aren't that many characters left after $end, substr will just return what there are. Do you want: $sub = substr($seq, -1000)?

Replies are listed 'Best First'.
Re: Re: why is substr behaving odd?
by usless_blonde (Initiate) on Nov 19, 2003 at 10:47 UTC
    thanks everyone!